mirror of
https://github.com/home-assistant/core.git
synced 2025-08-05 11:38:21 +00:00
Use async_register in streamlabswater (#107060)
This commit is contained in:
parent
427077a4c9
commit
e2acc70128
@ -112,7 +112,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
|
||||
)
|
||||
client.update_location(location_id, away_mode)
|
||||
|
||||
hass.services.register(
|
||||
hass.services.async_register(
|
||||
DOMAIN, SERVICE_SET_AWAY_MODE, set_away_mode, schema=SET_AWAY_MODE_SCHEMA
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user