I looking for a description of how I set values in a yaml file. there are great websites out there, but they assume you already know what parameters to put in your file. I don’t.
platform: mqtt - I believe this is telling hass what structure to use for the device definition.
name: ? can I make up any name? or do I pull if from the sonoff/tasmota information page?
sate_topic: can I make this up, or pull from information page?
Same for command_topic, and availability_topic.
payload_on _off - i understand that (my brain seems to handle up to three letters
the others i understand also.
switch: - platform: mqtt name: "Bedroom Switch" state_topic: "home/bedroom/switch1" command_topic: "home/bedroom/switch1/set" availability_topic: "home/bedroom/switch1/available" payload_on: "ON" payload_off: "OFF" state_on: "ON" state_off: "OFF" optimistic: false qos: 0 retain: true