core/homeassistant/components/mqtt/vacuum
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
..
__init__.py
const.py
schema.py
schema_legacy.py Change naming of MQTT entities to correspond with HA guidelines (#95159) 2023-07-21 12:52:10 +02:00
schema_state.py Change naming of MQTT entities to correspond with HA guidelines (#95159) 2023-07-21 12:52:10 +02:00