hass-core/homeassistant/components/mqtt
RadekHvizdos 9f4c2f6260
Add suggested_area to MQTT discovery (#47903)
* Add suggested_area to MQTT Discovery

This adds suggested_area to MQTT discovery, so that the discovered devices could be automatically added to the proper area.

* Add abbreviation for MQTT suggested_area

* Remove extra whitespace

* Remove extra whitespace #2

* Added tests for MQTT Dicovery of suggested_area

* Fix test for MQTT suggested_area

* Better tests of MQTT suggested_area

Changes made as per feedback from @emontnemery
2021-03-15 20:02:02 +01:00
..
device_tracker Update integrations j-o to override extra_state_attributes() (#47758) 2021-03-11 20:11:25 +01:00
light MQTT Light: Use flash attribute in async_turn_off (#47919) 2021-03-15 11:24:07 +01:00
translations [ci skip] Translation update 2021-02-27 00:05:45 +00:00
vacuum Hoist mqtt name property and add icon support to MqttEntity (#47165) 2021-03-11 13:42:13 +01:00
__init__.py Lint suppression cleanups (#47248) 2021-03-02 09:02:04 +01:00
abbreviations.py Add suggested_area to MQTT discovery (#47903) 2021-03-15 20:02:02 +01:00
addtrustexternalcaroot.crt
alarm_control_panel.py Hoist mqtt name property and add icon support to MqttEntity (#47165) 2021-03-11 13:42:13 +01:00
binary_sensor.py Hoist mqtt name property and add icon support to MqttEntity (#47165) 2021-03-11 13:42:13 +01:00
camera.py Hoist mqtt name property and add icon support to MqttEntity (#47165) 2021-03-11 13:42:13 +01:00
climate.py Hoist mqtt name property and add icon support to MqttEntity (#47165) 2021-03-11 13:42:13 +01:00
config_flow.py
const.py
cover.py Cover Tilt Position Bugfix (#47682) 2021-03-11 13:49:10 +01:00
debug_info.py
device_automation.py
device_trigger.py Fix MQTT trigger where wanted payload may be parsed as an integer (#47162) 2021-02-28 12:19:27 -08:00
discovery.py
fan.py Hoist mqtt name property and add icon support to MqttEntity (#47165) 2021-03-11 13:42:13 +01:00
lock.py Hoist mqtt name property and add icon support to MqttEntity (#47165) 2021-03-11 13:42:13 +01:00
manifest.json
mixins.py Add suggested_area to MQTT discovery (#47903) 2021-03-15 20:02:02 +01:00
models.py
number.py Hoist mqtt name property and add icon support to MqttEntity (#47165) 2021-03-11 13:42:13 +01:00
scene.py
sensor.py Hoist mqtt name property and add icon support to MqttEntity (#47165) 2021-03-11 13:42:13 +01:00
services.yaml Add service names to previously enriched services (#46929) 2021-02-23 14:10:13 +01:00
strings.json
subscription.py
switch.py Hoist mqtt name property and add icon support to MqttEntity (#47165) 2021-03-11 13:42:13 +01:00
tag.py
trigger.py Fix MQTT trigger where wanted payload may be parsed as an integer (#47162) 2021-02-28 12:19:27 -08:00
util.py