hass-core/tests/components/mqtt
Jan Bouwhuis 1f410e884a
Make hass.data["mqtt"] an instance of a DataClass (#77972)
* Use dataclass to reference hass.data globals

* Add discovery_registry_hooks to dataclass

* Move discovery registry hooks to dataclass

* Add device triggers to dataclass

* Cleanup DEVICE_TRIGGERS const

* Add last_discovery to data_class

* Simplify typing for class `Subscription`

* Follow up on comment

* Redo suggested typing change to sasisfy mypy

* Restore typing

* Add mypy version to CI check logging

* revert changes to ci.yaml

* Add docstr for protocol

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>

* Mypy update after merging #78399

* Remove mypy ignore

* Correct return type

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2022-09-17 21:43:42 +02:00
..
__init__.py Tweak Recorder 2016-07-11 08:56:07 -07:00
conftest.py Add Blueprint foundation to Scripts (#48621) 2021-04-27 15:15:38 -07:00
test_alarm_control_panel.py Refactor common MQTT tests to use modern schema (#77583) 2022-09-09 11:15:48 +02:00
test_binary_sensor.py Refactor common MQTT tests to use modern schema (#77583) 2022-09-09 11:15:48 +02:00
test_button.py Refactor common MQTT tests to use modern schema (#77583) 2022-09-09 11:15:48 +02:00
test_camera.py Refactor common MQTT tests to use modern schema (#77583) 2022-09-09 11:15:48 +02:00
test_climate.py Refactor common MQTT tests to use modern schema (#77583) 2022-09-09 11:15:48 +02:00
test_common.py Refactor common MQTT tests to use modern schema (#77583) 2022-09-09 11:15:48 +02:00
test_config_flow.py Make hass.data["mqtt"] an instance of a DataClass (#77972) 2022-09-17 21:43:42 +02:00
test_cover.py Refactor common MQTT tests to use modern schema (#77583) 2022-09-09 11:15:48 +02:00
test_device_tracker.py Refactor MQTT tests to use modern platform schema part 1 (#77387) 2022-09-06 11:02:15 +02:00
test_device_tracker_discovery.py Refactor common MQTT tests to use modern schema (#77583) 2022-09-09 11:15:48 +02:00
test_device_trigger.py Use hass.config_entries.async_setup in mqtt test (#77750) 2022-09-03 15:44:50 +02:00
test_diagnostics.py Improve handling of MQTT config entry data (#72691) 2022-07-22 13:36:43 +02:00
test_discovery.py Make hass.data["mqtt"] an instance of a DataClass (#77972) 2022-09-17 21:43:42 +02:00
test_fan.py Refactor common MQTT tests to use modern schema (#77583) 2022-09-09 11:15:48 +02:00
test_humidifier.py Refactor common MQTT tests to use modern schema (#77583) 2022-09-09 11:15:48 +02:00
test_init.py Make hass.data["mqtt"] an instance of a DataClass (#77972) 2022-09-17 21:43:42 +02:00
test_legacy_vacuum.py Refactor common MQTT tests to use modern schema (#77583) 2022-09-09 11:15:48 +02:00
test_light.py Refactor common MQTT tests to use modern schema (#77583) 2022-09-09 11:15:48 +02:00
test_light_json.py Refactor common MQTT tests to use modern schema (#77583) 2022-09-09 11:15:48 +02:00
test_light_template.py Refactor common MQTT tests to use modern schema (#77583) 2022-09-09 11:15:48 +02:00
test_lock.py Refactor common MQTT tests to use modern schema (#77583) 2022-09-09 11:15:48 +02:00
test_number.py Refactor common MQTT tests to use modern schema (#77583) 2022-09-09 11:15:48 +02:00
test_scene.py Refactor common MQTT tests to use modern schema (#77583) 2022-09-09 11:15:48 +02:00
test_select.py Refactor common MQTT tests to use modern schema (#77583) 2022-09-09 11:15:48 +02:00
test_sensor.py Refactor common MQTT tests to use modern schema (#77583) 2022-09-09 11:15:48 +02:00
test_siren.py Refactor common MQTT tests to use modern schema (#77583) 2022-09-09 11:15:48 +02:00
test_state_vacuum.py Refactor common MQTT tests to use modern schema (#77583) 2022-09-09 11:15:48 +02:00
test_subscription.py Speed up mqtt tests (#73423) 2022-06-13 10:17:10 -10:00
test_switch.py Refactor common MQTT tests to use modern schema (#77583) 2022-09-09 11:15:48 +02:00
test_tag.py Add hw_version to MQTT device info (#77210) 2022-08-25 11:55:33 +02:00
test_trigger.py Speed up mqtt tests (#73423) 2022-06-13 10:17:10 -10:00