Skip to content

Commit

Permalink
Merge pull request #128 from dschido/patch-1
Browse files Browse the repository at this point in the history
Update humidifier.py
  • Loading branch information
nbogojevic authored Jan 25, 2024
2 parents 10b79b9 + eecb4a4 commit 6917d18
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions custom_components/midea_dehumidifier_lan/humidifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ def on_update(self) -> None:
dehumi = self.dehumidifier()
self._attr_mode = next((i[1] for i in _MODES if i[0] == dehumi.mode), MODE_SET)
self._attr_target_humidity = dehumi.target_humidity
self._attr_current_humidity = dehumi.current_humidity # add new attribute current_humidity
self._attr_is_on = dehumi.running
super().on_update()

Expand Down

0 comments on commit 6917d18

Please sign in to comment.