From 37b59428b281234119814b9950c70a0635c8613f Mon Sep 17 00:00:00 2001 From: Jeffrey Stone Date: Thu, 11 Jul 2019 07:29:21 -0400 Subject: [PATCH] Moving back to MQTT for smartthings instead of built in integration due to inconsistent behavior --- lights/living_room.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/lights/living_room.yaml b/lights/living_room.yaml index 0431b96..4d0c6fe 100644 --- a/lights/living_room.yaml +++ b/lights/living_room.yaml @@ -4,6 +4,8 @@ command_topic: "smartthings/Tower Lamp/switch" brightness_state_topic: "smartthings/Tower Lamp/level" brightness_command_topic: "smartthings/Tower Lamp/level" + color_temp_command_topic: "smartthings/Tower Lamp/colorTemperature" + color_temp_state_topic: "smartthings/Tower Lamp/colorTemperature" brightness_scale: 101 payload_on: "on" payload_off: "off" @@ -27,4 +29,24 @@ brightness_scale: 101 payload_on: "on" payload_off: "off" + retain: true +- platform: mqtt + name: "Master Bedroom Lamp" + state_topic: "smartthings/Jeff Lamp/switch" + command_topic: "smartthings/Jeff Lamp/switch" + brightness_state_topic: "smartthings/Jeff Lamp/level" + brightness_command_topic: "smartthings/Jeff Lamp/level" + brightness_scale: 101 + payload_on: "on" + payload_off: "off" + retain: true +- platform: mqtt + name: "Side Door Light" + state_topic: "smartthings/Side Door Light/switch" + command_topic: "smartthings/Side Door Light/switch" + brightness_state_topic: "smartthings/Side Door Light/level" + brightness_command_topic: "smartthings/Side Door Light/level" + brightness_scale: 101 + payload_on: "on" + payload_off: "off" retain: true \ No newline at end of file