hass-core/homeassistant
Jan Bouwhuis 447fbf58c9
Change naming of MQTT entities to correspond with HA guidelines (#95159)
* Set has_entity_name if device_name is set

* revert unneeded formatting change

* Add image platform

* Follow up comment

* Don't set `has_entity_name` without device name

* Only set has_entity_name if a valid name is set

* Follow device_class name and add tests

* Follow up comments add extra tests

* Move to helper - Log a warning

* fix test

* Allow to assign None as name explictly

* Refactor

* Log info messages when device name is not set

* Revert scene schema change - no device link

* Always set has_entity_name with device mapping

* Always set `_attr_has_entity_name`

* Cleanup
2023-07-21 12:52:10 +02:00
..
auth
backports Remove unneeded str() in StrEnum backport (#96509) 2023-07-13 22:37:59 -10:00
brands Remove the virtual integration for ultraloq (#96355) 2023-07-17 11:49:42 +02:00
components Change naming of MQTT entities to correspond with HA guidelines (#95159) 2023-07-21 12:52:10 +02:00
generated Add support for MiScale V2 (#96807) 2023-07-20 10:01:19 +02:00
helpers Fix bug in check_config when an integration is removed by its own validator (#96068) 2023-07-20 11:45:44 +02:00
scripts Update colorlog to 6.7.0 (#96131) 2023-07-11 14:29:09 -04:00
util Add cancel messages to core task cancelation (#96972) 2023-07-20 18:03:36 -05:00
__init__.py
__main__.py
block_async_io.py
bootstrap.py
config.py Onboard Google Translate (#95352) 2023-06-27 13:12:25 +02:00
config_entries.py Fix task leak on config entry unload/retry (#96981) 2023-07-20 21:00:07 -04:00
const.py Add event entity (#96797) 2023-07-21 12:16:35 +02:00
core.py Add cancel messages to core task cancelation (#96972) 2023-07-20 18:03:36 -05:00
data_entry_flow.py
exceptions.py Move device info validation to device registry (#96465) 2023-07-14 08:55:17 -04:00
loader.py Update bind_hass docstring to discourage its use (#96933) 2023-07-20 13:34:24 +02:00
package_constraints.txt Update aiohttp to 3.8.5 (#96945) 2023-07-20 16:11:14 +02:00
requirements.py Core code styling improvements (#85963) 2023-01-15 23:00:51 +01:00
runner.py Add cancel messages to core task cancelation (#96972) 2023-07-20 18:03:36 -05:00
setup.py
strings.json Add more common translations (#96429) 2023-07-12 22:00:05 -04:00