From 22623e9a8a0f9b66bc705a24b2fe2f4c1f0553b6 Mon Sep 17 00:00:00 2001 From: Valter Ferreira Date: Sat, 20 Feb 2021 01:37:13 +0000 Subject: [PATCH] Added shelly lights MQTT --- light.yaml | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/light.yaml b/light.yaml index 5b6983a..4b5d8c5 100755 --- a/light.yaml +++ b/light.yaml @@ -102,3 +102,43 @@ host: !secret philipstv_ip username: !secret philipstv_user password: !secret philipstv_pass + + - 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 \ No newline at end of file