Fix Heat Service, bump pyEight to 0.2.0 (#63405)
This commit is contained in:
parent
d2c06c5947
commit
5c44c27088
3 changed files with 3 additions and 3 deletions
|
@ -173,7 +173,7 @@ async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
|
||||||
duration = params.pop(ATTR_HEAT_DURATION, 0)
|
duration = params.pop(ATTR_HEAT_DURATION, 0)
|
||||||
|
|
||||||
for sens in sensor:
|
for sens in sensor:
|
||||||
side = sens[0]
|
side = sens.split("_")[1]
|
||||||
userid = eight.fetch_userid(side)
|
userid = eight.fetch_userid(side)
|
||||||
usrobj = eight.users[userid]
|
usrobj = eight.users[userid]
|
||||||
await usrobj.set_heating_level(target, duration)
|
await usrobj.set_heating_level(target, duration)
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
"domain": "eight_sleep",
|
"domain": "eight_sleep",
|
||||||
"name": "Eight Sleep",
|
"name": "Eight Sleep",
|
||||||
"documentation": "https://www.home-assistant.io/integrations/eight_sleep",
|
"documentation": "https://www.home-assistant.io/integrations/eight_sleep",
|
||||||
"requirements": ["pyeight==0.1.9"],
|
"requirements": ["pyeight==0.2.0"],
|
||||||
"codeowners": ["@mezz64", "@raman325"],
|
"codeowners": ["@mezz64", "@raman325"],
|
||||||
"iot_class": "cloud_polling"
|
"iot_class": "cloud_polling"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1479,7 +1479,7 @@ pyedimax==0.2.1
|
||||||
pyefergy==0.1.5
|
pyefergy==0.1.5
|
||||||
|
|
||||||
# homeassistant.components.eight_sleep
|
# homeassistant.components.eight_sleep
|
||||||
pyeight==0.1.9
|
pyeight==0.2.0
|
||||||
|
|
||||||
# homeassistant.components.emby
|
# homeassistant.components.emby
|
||||||
pyemby==1.8
|
pyemby==1.8
|
||||||
|
|
Loading…
Add table
Reference in a new issue