Skip to content

Commit

Permalink
Better support for devices with supply air heater
Browse files Browse the repository at this point in the history
  • Loading branch information
veista committed Nov 26, 2022
1 parent 7213a27 commit 8ca25c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions custom_components/nilan/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ async def setup(self):
self._attributes.update(CO2_PRESENT_TO_ATTRIBUTES)
after_heater_type = await self.get_after_heating_type()
if after_heater_type == 1:
del self._attributes["get_t2_inlet_temperature"]
self._attributes.update(ELECTRIC_AFTER_HEATER_PRESENT_TO_ATTRIBUTES)
if after_heater_type == 2:
self._attributes.update(
Expand Down

0 comments on commit 8ca25c5

Please sign in to comment.