change mqtt to new version

This commit is contained in:
2022-09-14 01:57:00 +01:00
parent 848c33d3f7
commit 07373045fc
10 changed files with 547 additions and 688 deletions

138
light.yaml Executable file → Normal file
View File

@@ -1,138 +0,0 @@
- platform: mqtt
name: "Luz Hall Quarto Principal"
state_topic: "stat/tasmota_BC6546/POWER"
command_topic: "cmnd/tasmota_BC6546/POWER"
qos: 1
payload_on: "ON"
payload_off: "OFF"
retain: true
- platform: mqtt
name: "Luz WC Vermelha"
state_topic: "stat/Luzwcred/POWER"
command_topic: "cmnd/Luzwcred/POWER"
qos: 1
payload_on: "ON"
payload_off: "OFF"
retain: true
- platform: mqtt
name: "Luz Aquario"
command_topic: "cmnd/SonoffluzAquario/power"
state_topic: "stat/SonoffluzAquario/POWER"
qos: 1
payload_on: "ON"
payload_off: "OFF"
retain: true
- platform: mqtt
name: "Luz Wc Preto"
command_topic: "cmnd/tasmota_FD991E/power"
state_topic: "stat/tasmota_FD991E/POWER"
qos: 1
payload_on: "ON"
payload_off: "OFF"
retain: true
- platform: mqtt
name: "Luz Escritorio"
command_topic: "cmnd/LuzEscritorio/power"
state_topic: "stat/LuzEscritorio/POWER"
qos: 1
payload_on: "ON"
payload_off: "OFF"
retain: true
- platform: mqtt
name: "Luz Jardim Frente Lado"
command_topic: "mqttServer/14031717/light/14031717luzfrentelado/set"
state_topic: "mqttServer/14031717/light/14031717luzfrentelado/state"
qos: 1
payload_on: "ON"
payload_off: "OFF"
retain: true
- platform: mqtt
name: "Luz Jardim Frente"
command_topic: "mqttServer/14031717/light/14031717luzjardimfrente/set"
state_topic: "mqttServer/14031717/light/14031717luzjardimfrente/state"
qos: 1
payload_on: "ON"
payload_off: "OFF"
retain: true
- platform: mqtt
name: "Luz Garagem 1"
command_topic: "mqttServer/14029039/light/14029039luzgaragem1/set"
state_topic: "mqttServer/14029039/light/14029039luzgaragem1/set"
qos: 1
payload_on: "ON"
payload_off: "OFF"
retain: true
- platform: mqtt
name: "Luz Garagem 2"
command_topic: "mqttServer/14029039/light/14029039luzgaragem2/set"
state_topic: "mqttServer/14029039/light/14029039luzgaragem2/state"
qos: 1
payload_on: "ON"
payload_off: "OFF"
retain: true
- platform: mqtt
name: "Luz Hall Tras Fora"
command_topic: "mqttServer/14049798/light/14049798luzhallforatras1/set"
state_topic: "mqttServer/14049798/light/14049798luzhallforatras1/state"
qos: 1
payload_on: "ON"
payload_off: "OFF"
retain: true
- platform: mqtt
name: "Luz Muro Tras"
command_topic: "mqttServer/14049798/light/14049798luzmurostras/set"
state_topic: "mqttServer/14049798/light/14049798luzmurostras/state"
qos: 1
payload_on: "ON"
payload_off: "OFF"
retain: true
- platform: mqtt
unique_id: luz_varanda_quarto_principal
name: "Luz Varanda Quarto Principal"
state_topic: "shellies/luzVarandaQP/relay/0"
command_topic: "shellies/luzVarandaQP/relay/0/command"
payload_on: "on"
payload_off: "off"
retain: false
qos: 1
- platform: mqtt
unique_id: luz_varanda_sala
name: "Luz Varanda Sala"
state_topic: "shellies/luzVarandaSala/relay/0"
command_topic: "shellies/luzVarandaSala/relay/0/command"
payload_on: "on"
payload_off: "off"
retain: false
qos: 1
- platform: mqtt
unique_id: luz_wc_castanha
name: "Luz WC Castanha"
state_topic: "shellies/luzWCcast/relay/0"
command_topic: "shellies/luzWCcast/relay/0/command"
payload_on: "on"
payload_off: "off"
retain: false
qos: 1
- platform: mqtt
unique_id: luz_hall_tras
name: "Luz Hall Tras"
state_topic: "shellies/luzHallTras/relay/0"
command_topic: "shellies/luzHallTras/relay/0/command"
payload_on: "on"
payload_off: "off"
retain: false
qos: 1