core/homeassistant/components/cloud
Jan Bouwhuis c5b32d6307
Add doorbell event to google_assistant (#97123)
* First attempt async_report_state_all

* Move notificationSupportedByAgent to SYNC response

* Make notificationSupportedByAgent conditional

* Add generic sync_options method

* Report event

* Add event_type as ID

* User UUID, imlement query_notifications

* Refactor query_notifications

* Add test

* MyPy

* Unreachable code

* Tweak

* Correct notification message

* Timestamp was wrong unit, it should be in seconds
* Can only allow doorbell class, since it's the only type

* Fix test

* Remove unrelated changes - improve coverage

* Additional tests

---------

Co-authored-by: Joakim Plate <elupus@ecce.se>
2023-09-25 23:20:02 +02:00
..
__init__.py Bump hass-nabucasa from 0.70.0 to 0.71.0 (#100193) 2023-09-12 09:58:25 -04:00
account_link.py
alexa_config.py Use asyncio.timeout [core] (#98447) 2023-08-15 08:36:05 -05:00
binary_sensor.py
client.py Add remote alias to connection info response (#99410) 2023-08-31 10:43:32 -04:00
const.py Bump hass-nabucasa from 0.70.0 to 0.71.0 (#100193) 2023-09-12 09:58:25 -04:00
google_config.py Add doorbell event to google_assistant (#97123) 2023-09-25 23:20:02 +02:00
http_api.py Use asyncio.timeout [core] (#98447) 2023-08-15 08:36:05 -05:00
manifest.json Bump hass-nabucasa from 0.70.0 to 0.71.0 (#100193) 2023-09-12 09:58:25 -04:00
prefs.py
repairs.py
services.yaml
strings.json
stt.py
subscription.py Use asyncio.timeout [core] (#98447) 2023-08-15 08:36:05 -05:00
system_health.py
tts.py