Good Day,
I’m drawing a huge blank here, don’t even know where to start, I have the following switches:
switch:
- platform: mqtt
name: "Garage"
state_topic: "stat/sonofagarage1/POWER"
command_topic: "cmnd/sonofagarage1/POWER"
availability_topic: "tele/sonofagarage1/LWT"
qos: 0
payload_on: "ON"
payload_off: "OFF"
payload_available: "Online"
payload_not_available: "Offline"
retain: false
- platform: mqtt
name: "Tsakibed"
state_topic: "stat/tsakibed1/POWER"
command_topic: "cmnd/tsakibed1/POWER"
availability_topic: "tele/tsakibed1/LWT"
qos: 0
payload_on: "ON"
payload_off: "OFF"
payload_available: "Online"
payload_not_available: "Offline"
retain: false
- platform: command_line
switches:
tsakibackup:
command_on: "/usr/bin/curl -X POST http://192.168.1.133/cm?cmnd=Power%20Toggle"
command_off: "/usr/bin/curl -X POST http://192.168.1.133/cm?cmnd=Power%20Toggle"
command_state: "/usr/bin/curl -X GET http://192.168.1.133/cm?cmnd=Power"
value_template: '{{value_json.POWER == "ON" }}'
friendly_name: TsakiBackup
I’m trying to integrate them into conversation so I can control them with a voice command from Home Assistant, the switches all work fine, and they use mqtt and command line, but the write up on conversation does not help me. After:
conversation:
I do not know what to do.