core/tests/components/mqtt
Raman Gupta 4e25807b7d Add ability for MQTT device tracker to map non-default topic payloads to zones/states (#27143)
* add ability for MQTT device tracker to map nondefault topic payloads to zones

* update new parameter name and add abbreviation

* support for payload_home, payload_not_home, and payload_custom

* use constants STATE_NOT_HOME and STATE_HOME as defaults

* reference state constants directly

* add empty dict as default for payload_custom

* change parameter name for custom mapping of payloads to non-home zones to be more descriptive

* removed 'payload_other_zones' per ballobs review

* remove abbreviation for 'payload_other_zones'

* add tests for feature
2019-10-17 17:51:27 -07:00
..
__init__.py Tweak Recorder 2016-07-11 08:56:07 -07:00
conftest.py Move mqtt_mock to tests/components/mqtt/conftest.py (#20621) 2019-01-31 21:22:29 +01:00
test_alarm_control_panel.py Black 2019-07-31 12:25:30 -07:00
test_binary_sensor.py Mqtt binary sensor expire after (#26058) 2019-09-21 20:42:03 +02:00
test_camera.py Add device to mqtt camera (#26238) 2019-09-04 16:15:40 +02:00
test_climate.py Black 2019-07-31 12:25:30 -07:00
test_config_flow.py Black 2019-07-31 12:25:30 -07:00
test_cover.py Black 2019-07-31 12:25:30 -07:00
test_device_tracker.py Add ability for MQTT device tracker to map non-default topic payloads to zones/states (#27143) 2019-10-17 17:51:27 -07:00
test_discovery.py Add test case to identify missing MQTT configuration abbreviations (#25616) 2019-08-06 17:32:15 -07:00
test_fan.py Black 2019-07-31 12:25:30 -07:00
test_init.py Black 2019-07-31 12:25:30 -07:00
test_legacy_vacuum.py Move imports in mqtt component (#27835) 2019-10-17 17:04:27 -07:00
test_light.py Black 2019-07-31 12:25:30 -07:00
test_light_json.py Black 2019-07-31 12:25:30 -07:00
test_light_template.py Black 2019-07-31 12:25:30 -07:00
test_lock.py Black 2019-07-31 12:25:30 -07:00
test_sensor.py Black 2019-07-31 12:25:30 -07:00
test_server.py Move imports in mqtt component (#27835) 2019-10-17 17:04:27 -07:00
test_state_vacuum.py Move imports in mqtt component (#27835) 2019-10-17 17:04:27 -07:00
test_subscription.py Black 2019-07-31 12:25:30 -07:00
test_switch.py Black 2019-07-31 12:25:30 -07:00