hass-core/homeassistant/components/mqtt
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
..
light Change naming of MQTT entities to correspond with HA guidelines (#95159) 2023-07-21 12:52:10 +02:00
vacuum Change naming of MQTT entities to correspond with HA guidelines (#95159) 2023-07-21 12:52:10 +02:00
__init__.py Allow ADR 0007 compliant schema for mqtt (#94305) 2023-07-18 14:29:45 +02:00
abbreviations.py Add url support for mqtt image platform (#95249) 2023-06-27 12:49:31 +02:00
alarm_control_panel.py Change naming of MQTT entities to correspond with HA guidelines (#95159) 2023-07-21 12:52:10 +02:00
binary_sensor.py Change naming of MQTT entities to correspond with HA guidelines (#95159) 2023-07-21 12:52:10 +02:00
button.py Change naming of MQTT entities to correspond with HA guidelines (#95159) 2023-07-21 12:52:10 +02:00
camera.py Change naming of MQTT entities to correspond with HA guidelines (#95159) 2023-07-21 12:52:10 +02:00
client.py Filter replaying unrelated retained MQTT messages when subscribing to share topics (#88826) 2023-05-12 15:23:05 +02:00
climate.py Change naming of MQTT entities to correspond with HA guidelines (#95159) 2023-07-21 12:52:10 +02:00
config.py Add optimistic option for MQTT climate (#84777) 2023-01-02 11:39:42 +01:00
config_flow.py Only expose MQTT advanced settings in advanced mode (#91996) 2023-04-25 22:23:17 +02:00
config_integration.py Allow ADR 0007 compliant schema for mqtt (#94305) 2023-07-18 14:29:45 +02:00
const.py Add action topic to MQTT humidifier (#95212) 2023-06-28 14:21:15 +02:00
cover.py Change naming of MQTT entities to correspond with HA guidelines (#95159) 2023-07-21 12:52:10 +02:00
debug_info.py Improve MQTT type hints part 3 (#80542) 2022-11-03 13:06:53 +01:00
device_automation.py Improve MQTT type hints part 3 (#80542) 2022-11-03 13:06:53 +01:00
device_tracker.py Change naming of MQTT entities to correspond with HA guidelines (#95159) 2023-07-21 12:52:10 +02:00
device_trigger.py Complete partly implemented type hints for dict on MQTT platforms (#87839) 2023-02-12 21:47:38 +01:00
diagnostics.py Add MqttData helper to mqtt (#78825) 2022-09-20 19:40:06 +02:00
discovery.py Add mqtt image platform (#94769) 2023-06-26 14:42:24 +02:00
fan.py Change naming of MQTT entities to correspond with HA guidelines (#95159) 2023-07-21 12:52:10 +02:00
humidifier.py Change naming of MQTT entities to correspond with HA guidelines (#95159) 2023-07-21 12:52:10 +02:00
image.py Change naming of MQTT entities to correspond with HA guidelines (#95159) 2023-07-21 12:52:10 +02:00
lock.py Change naming of MQTT entities to correspond with HA guidelines (#95159) 2023-07-21 12:52:10 +02:00
manifest.json Sort manifests 6 (#87027) 2023-02-08 20:38:43 +01:00
mixins.py Change naming of MQTT entities to correspond with HA guidelines (#95159) 2023-07-21 12:52:10 +02:00
models.py Allow ADR 0007 compliant schema for mqtt (#94305) 2023-07-18 14:29:45 +02:00
number.py Change naming of MQTT entities to correspond with HA guidelines (#95159) 2023-07-21 12:52:10 +02:00
scene.py Change naming of MQTT entities to correspond with HA guidelines (#95159) 2023-07-21 12:52:10 +02:00
select.py Change naming of MQTT entities to correspond with HA guidelines (#95159) 2023-07-21 12:52:10 +02:00
sensor.py Change naming of MQTT entities to correspond with HA guidelines (#95159) 2023-07-21 12:52:10 +02:00
services.yaml Migrate mqtt services to support translations (#96396) 2023-07-12 10:37:59 -04:00
siren.py Change naming of MQTT entities to correspond with HA guidelines (#95159) 2023-07-21 12:52:10 +02:00
strings.json Add deduplicate translations script (#96384) 2023-07-13 11:52:50 -04:00
subscription.py Replace isort with ruff (#94302) 2023-06-08 23:43:56 +02:00
switch.py Change naming of MQTT entities to correspond with HA guidelines (#95159) 2023-07-21 12:52:10 +02:00
tag.py Improve mqtt tag schema logging and avoid tests that use xfail (#95711) 2023-07-11 10:12:31 +02:00
text.py Change naming of MQTT entities to correspond with HA guidelines (#95159) 2023-07-21 12:52:10 +02:00
trigger.py Inverse json import logic (#88099) 2023-02-16 11:37:57 +01:00
update.py Change naming of MQTT entities to correspond with HA guidelines (#95159) 2023-07-21 12:52:10 +02:00
util.py Make sure MQTT client is available when starting depending platforms (#91164) 2023-04-20 08:07:35 +02:00
water_heater.py Change naming of MQTT entities to correspond with HA guidelines (#95159) 2023-07-21 12:52:10 +02:00