core/tests
Jan Bouwhuis e574a3ef1d
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>
2022-03-08 16:27:18 +01:00
..
auth
backports
components Add MQTT notify platform (#64728) 2022-03-08 16:27:18 +01:00
fixtures Refactor sleepiq as async with config flow (#64850) 2022-02-16 08:51:29 -06:00
hassfest
helpers Prevent polling from recreating an entity after removal (#67750) 2022-03-07 20:42:16 -08:00
mock Add Python 3.10 to CI (#59729) 2022-02-17 14:58:24 +01:00
pylint Add tests for pylint plugins (#65436) 2022-02-03 10:01:02 +01:00
resources
scripts Allow IntegrationNotFound when checking config in safe mode (#56283) 2021-09-17 22:25:50 -07:00
test_util
testing_config Support restoring SensorEntity native_value (#66068) 2022-02-08 14:00:26 -08:00
util Update whoami URL (#67793) 2022-03-07 11:11:25 +01:00
__init__.py
bandit.yaml
common.py Add WS API for removing a config entry from a device (#66188) 2022-02-21 10:11:18 +01:00
conftest.py Add MQTT diagnostics (#66730) 2022-02-18 09:28:49 +01:00
ignore_uncaught_exceptions.py
test_bootstrap.py Revert "Block peer certs on supervisor" (#67104) 2022-02-23 12:32:07 +01:00
test_config.py
test_config_entries.py Teach _async_abort_entries_match about entry options (#66662) 2022-02-16 18:15:31 +01:00
test_core.py Validate in split_entity_id (#66835) 2022-02-18 16:11:17 -08:00
test_data_entry_flow.py
test_exceptions.py
test_loader.py Allow integrations to request dhcp discovery flows for registered devices (#66528) 2022-02-15 11:02:52 -06:00
test_main.py
test_requirements.py
test_runner.py
test_setup.py Highlight in logs it is a custom component when setup fails (#67559) 2022-03-03 15:03:03 -08:00
test_test_fixtures.py