mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-06-15 17:12:59 +00:00
Add tradfri_large to guest bedroom
This commit is contained in:
@@ -102,7 +102,7 @@ automation:
|
||||
to: "night"
|
||||
action:
|
||||
- service: light.turn_off
|
||||
entity_id: light.light_lohas_6
|
||||
entity_id: light.tradfri_large
|
||||
|
||||
- alias: House mode · Set to day
|
||||
trigger:
|
||||
|
||||
@@ -5,14 +5,14 @@ script:
|
||||
data:
|
||||
scene_id: guest_bedroom_before_confirm
|
||||
snapshot_entities:
|
||||
- light.light_lohas_6
|
||||
- light.tradfri_large
|
||||
- service: light.turn_on
|
||||
entity_id: light.light_lohas_6
|
||||
entity_id: light.tradfri_large
|
||||
data:
|
||||
rgb_color: [110, 255, 0]
|
||||
- delay: 00:00:02
|
||||
- service: light.turn_on
|
||||
entity_id: light.light_lohas_6
|
||||
entity_id: light.tradfri_large
|
||||
data_template:
|
||||
color_temp: "{{ states('input_number.guest_bedroom_light_temp') }}"
|
||||
- service: scene.turn_on
|
||||
|
||||
@@ -142,7 +142,7 @@ light:
|
||||
- light.master_bedroom
|
||||
- light.kitchen
|
||||
- light.hallway
|
||||
- light.light_lohas_6
|
||||
- light.tradfri_large
|
||||
|
||||
automation:
|
||||
- alias: Lighting · Sync Kitchen Main states
|
||||
@@ -270,5 +270,6 @@ homeassistant:
|
||||
icon: bha:ceiling-spot-lamp
|
||||
|
||||
# Guest Bedroom
|
||||
light.light_lohas_6:
|
||||
light.tradfri_large:
|
||||
icon: bha:table-lamp-variant
|
||||
name: Night stand
|
||||
|
||||
@@ -12,6 +12,18 @@ mqtt:
|
||||
max_mireds: 500
|
||||
min_mireds: 150
|
||||
|
||||
- name: "tradfri_large"
|
||||
state_topic: "z2m_deconz/tradfri_large"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
brightness: true
|
||||
color_temp: true
|
||||
xy: false
|
||||
schema: "json"
|
||||
command_topic: "z2m_deconz/tradfri_large/set"
|
||||
brightness_scale: 254
|
||||
max_mireds: 500
|
||||
min_mireds: 150
|
||||
|
||||
- name: "light_le_1"
|
||||
state_topic: "tele/light_le_1/STATE"
|
||||
state_value_template: "{{ value_json.POWER }}"
|
||||
@@ -175,6 +187,13 @@ mqtt:
|
||||
unit_of_measurement: "lqi"
|
||||
device_class: "signal_strength"
|
||||
|
||||
- name: "tradfri_large_lqi"
|
||||
state_topic: "z2m_deconz/tradfri_large"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
value_template: "{{ value_json.linkquality }}"
|
||||
unit_of_measurement: "lqi"
|
||||
device_class: "signal_strength"
|
||||
|
||||
- name: "light_le_1_wifi"
|
||||
availability_topic: "tele/light_le_1/LWT"
|
||||
device_class: signal_strength
|
||||
|
||||
@@ -40,7 +40,7 @@ script:
|
||||
- light.kitchen_secondary
|
||||
- light.hallway_main
|
||||
- light.hallway_entrance
|
||||
- light.light_lohas_6
|
||||
- light.tradfri_large
|
||||
- media_player.nvidia_shield
|
||||
- media_player.living_room_tv
|
||||
- switch.cadmium
|
||||
|
||||
Reference in New Issue
Block a user