Invalid config for [switch.mqtt]: [payload_open] is an invalid option for [switch.mqtt]. Check: switch.mqtt->payload_open. (See ?, line ?).
This is to control my somfy roller shutters up and down. I think “switch:” is proably not correct but i cant for the life of me to work out what it should be. Im editing in configuration.yaml
switch:
- platform: mqtt
name: "Living Room Left"
availability_topic: "home/nodemcu/somfy/livingroom/status"
state_topic: "home/nodemcu/somfy/livingroom/state"
command_topic: "home/nodemcu/somfy/livingleft"
qos: 1
payload_open: "u"
payload_stop: "s"
payload_close: "d"
retain: true
Fyi copying the setup from the project im following here :
Thanks thansk thanks