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 |
||
---|---|---|
.. | ||
__init__.py | ||
test_command_line.py | ||
test_flux.py | ||
test_init.py | ||
test_litejet.py | ||
test_mfi.py | ||
test_mochad.py | ||
test_mqtt.py | ||
test_rest.py | ||
test_rflink.py | ||
test_rfxtrx.py | ||
test_template.py | ||
test_vultr.py | ||
test_wake_on_lan.py | ||
test_zwave.py |