core/homeassistant/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
..
.translations [ci skip] Translation update 2019-10-15 00:31:44 +00:00
light Move imports in mqtt component (#27835) 2019-10-17 17:04:27 -07:00
vacuum Move imports in mqtt component (#27835) 2019-10-17 17:04:27 -07:00
__init__.py Move imports in mqtt component (#27835) 2019-10-17 17:04:27 -07:00
abbreviations.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
addtrustexternalcaroot.crt
alarm_control_panel.py
binary_sensor.py Mqtt binary sensor expire after (#26058) 2019-09-21 20:42:03 +02:00
camera.py Add device to mqtt camera (#26238) 2019-09-04 16:15:40 +02:00
climate.py
config_flow.py Move imports in mqtt component (#27835) 2019-10-17 17:04:27 -07:00
const.py Move imports in mqtt component (#27835) 2019-10-17 17:04:27 -07:00
cover.py
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
discovery.py
fan.py
lock.py
manifest.json Update documentation link URL for integrations in all manifests (#27114) 2019-10-02 09:25:44 -07:00
models.py Move imports in mqtt component (#27835) 2019-10-17 17:04:27 -07:00
sensor.py
server.py Move imports in mqtt component (#27835) 2019-10-17 17:04:27 -07:00
services.yaml
strings.json
subscription.py Move imports in mqtt component (#27835) 2019-10-17 17:04:27 -07:00
switch.py