mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Add Google Report State (#27112)
* Add Google Report State * UPDATE codeowners" * Add config option for dev mode * update library * lint * Bug fixes
This commit is contained in:
committed by
Pascal Vizeli
parent
3e99743244
commit
f184bf4d85
@@ -193,11 +193,12 @@ async def handle_devices_execute(hass, data, payload):
|
||||
|
||||
|
||||
@HANDLERS.register("action.devices.DISCONNECT")
|
||||
async def async_devices_disconnect(hass, data, payload):
|
||||
async def async_devices_disconnect(hass, data: RequestData, payload):
|
||||
"""Handle action.devices.DISCONNECT request.
|
||||
|
||||
https://developers.google.com/actions/smarthome/create#actiondevicesdisconnect
|
||||
"""
|
||||
await data.config.async_deactivate_report_state()
|
||||
return None
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user