Skip to content

Commit

Permalink
0.6.15
Browse files Browse the repository at this point in the history
  • Loading branch information
gvigroux committed Mar 16, 2024
1 parent 70896b2 commit ee276c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion custom_components/hon/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
"documentation": "https://github.com/gvigroux/hon",
"iot_class": "cloud_polling",
"issue_tracker": "https://github.com/gvigroux/hon/issues",
"version": "0.6.14"
"version": "0.6.15"
}
6 changes: 3 additions & 3 deletions custom_components/hon/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,14 +335,14 @@ class HonBaseProgram(HonBaseSensorEntity):
def __init__(self, hass, coordinator, entry, appliance) -> None:
super().__init__(coordinator, appliance, "prCode", "Program")

if( self._type_id in (APPLIANCE_TYPE.TUMBLE_DRYER)):
if( self._type_id == APPLIANCE_TYPE.TUMBLE_DRYER):
self._attr_icon = "mdi:tumble-dryer"
self.translation_key = "tumbledryer_program"

if( self._type_id in (APPLIANCE_TYPE.OVEN)):
if( self._type_id == APPLIANCE_TYPE.OVEN):
self.translation_key = "oven_program"

if( self._type_id in (APPLIANCE_TYPE.DISH_WASHER)):
if( self._type_id == APPLIANCE_TYPE.DISH_WASHER):
##some programs share id but parameters (T, W, time) might be differnet. Task develop parameter adjustment
self.translation_key = "dishwasher_program"

Expand Down

0 comments on commit ee276c2

Please sign in to comment.