How can i achieve a mqtt binary sensor that accepts 2 possible values as payload off ?
i tried to create a list , but the config is not valid…
is this the way or is my solution imposible ?
# Example configuration.yaml entry
mqtt:
- binary_sensor:
name: Bathroom
state_topic: "home/bathroom/switch/button"
payload_on: "1"
payload_off: ["1010403", "1010404"]