Hi all, i’m following this guide guide added" the code:
- platform: mqtt
name: "Drive Beam Break"
state_topic: "stat/drive-beam-break/POWER"
payload_on: "ON"
payload_off: "OFF"
qos: 0
device_class: motion
to my sensors.yaml
geting next message when checking my configuration:
Invalid config for [sensor.mqtt]: [payload_on] is an invalid option for [sensor.mqtt]. Check: sensor.mqtt->payload_on. (See ?, line ?).
any idea?
2 posts - 2 participants