Fix Heat Service, bump pyEight to 0.2.0 (#63405)

This commit is contained in:
mezz64 2022-01-04 21:17:27 -05:00 committed by GitHub
parent d2c06c5947
commit 5c44c27088
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -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)

View file

@ -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"
} }

View file

@ -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