Files
core/homeassistant/components/switch
Ryan Davies ee8a815e6b Allow MQTT Switch to have an optional state configuration (#15430)
Switches by default use the payload_on and payload_off configuration parameters to specify both the payload the switch should send for a state but also what will be returned for the current state - which isnt always the same
As a toggle switch might always send an ON or TOGGLE to toggle the switch, but still receive an ON or an OFF for the state topic - This change allows for splitting them apart
2018-07-20 23:04:06 +02:00
..
2018-07-20 11:45:20 +03:00
2018-07-18 11:54:27 +02:00
2018-07-18 11:54:27 +02:00
2018-07-20 11:45:20 +03:00
2018-07-20 11:45:20 +03:00
2018-07-20 11:45:20 +03:00
2018-06-25 13:05:07 -04:00
2018-07-20 11:45:20 +03:00
2018-06-25 13:05:07 -04:00
2018-04-16 21:00:13 +02:00
2018-05-26 18:42:52 +02:00
2018-07-18 11:54:27 +02:00
2018-07-14 11:04:00 +02:00
2018-06-25 13:05:07 -04:00
2018-07-18 11:54:27 +02:00
2018-06-25 13:05:07 -04:00
2018-07-18 11:54:27 +02:00
2018-06-25 13:58:16 +02:00
2018-07-20 11:45:20 +03:00
2018-07-01 11:54:51 -04:00
2018-06-10 10:23:07 +02:00
2018-07-18 11:54:27 +02:00
2018-07-18 11:54:27 +02:00
2018-07-18 11:54:27 +02:00
2018-06-25 13:05:07 -04:00
2018-07-20 11:45:20 +03:00
2018-05-13 12:09:28 +02:00
2018-07-18 11:54:27 +02:00
2018-06-07 16:30:20 -04:00
2018-07-18 11:54:27 +02:00
2018-07-20 11:45:20 +03:00