mirror of
https://github.com/home-assistant/core.git
synced 2026-05-30 20:24:21 +01:00
ee8a815e6b
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