core/homeassistant
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
..
auth
backports
components Make hass.data["mqtt"] an instance of a DataClass (#77972) 2022-09-17 21:43:42 +02:00
generated Update LaMetric config entry using DHCP discovery data (#78527) 2022-09-16 08:35:12 +02:00
helpers Make async_extract_entities generic (#78490) 2022-09-16 00:20:47 +02:00
scripts
util Correct return typing for `catch_log_exception` (#78399) 2022-09-17 17:27:22 +02:00
__init__.py
__main__.py
block_async_io.py
bootstrap.py
config.py
config_entries.py Add a helpful message to the config_entries.OperationNotAllowed exception (#78631) 2022-09-17 20:52:28 +03:00
const.py
core.py
data_entry_flow.py
exceptions.py
loader.py
package_constraints.txt
requirements.py
runner.py
setup.py
strings.json