-
- Downloads
Add MQTT notify platform (#64728)
* Mqtt Notify service draft * fix updates * Remove TARGET config parameter * do not use protected attributes * complete tests * device support for auto discovery * Add targets attribute and support for data param * Add tests and resolve naming issues * CONF_COMMAND_TEMPLATE from .const * Use mqtt as default service name * make sure service has a unique name * pylint error * fix type error * Conditional device removal and test * Improve tests * update description has_notify_services() * Use TypedDict for service config * casting- fix discovery - hass.data * cleanup * move MqttNotificationConfig after the schemas * fix has_notify_services * do not test log for reg update * Improve casting types * Simplify obtaining the device_id Co-authored-by:Erik Montnemery <erik@montnemery.com> * await not needed Co-authored-by:
Erik Montnemery <erik@montnemery.com> * Improve casting types and naming * cleanup_device_registry signature change and black * remove not needed condition Co-authored-by:
Erik Montnemery <erik@montnemery.com>
Showing
- homeassistant/components/mqtt/__init__.py 1 addition, 0 deletionshomeassistant/components/mqtt/__init__.py
- homeassistant/components/mqtt/abbreviations.py 2 additions, 0 deletionshomeassistant/components/mqtt/abbreviations.py
- homeassistant/components/mqtt/const.py 7 additions, 5 deletionshomeassistant/components/mqtt/const.py
- homeassistant/components/mqtt/discovery.py 11 additions, 1 deletionhomeassistant/components/mqtt/discovery.py
- homeassistant/components/mqtt/mixins.py 11 additions, 8 deletionshomeassistant/components/mqtt/mixins.py
- homeassistant/components/mqtt/notify.py 406 additions, 0 deletionshomeassistant/components/mqtt/notify.py
- tests/components/mqtt/test_notify.py 863 additions, 0 deletionstests/components/mqtt/test_notify.py
Loading
Please register or sign in to comment