Add tradfri_large to guest bedroom

This commit is contained in:
2022-09-01 15:49:17 +03:00
parent a61bbed88e
commit 0c31aa71e1
9 changed files with 33 additions and 14 deletions
@@ -246,8 +246,7 @@ cards:
show_header_toggle: false
entities:
- type: custom:decluttering-card
template: light_with_fade_and_switch
template: light_with_update_and_lqi
variables:
- light: light.light_lohas_6
- fade: switch.light_lohas_6
- wifi: sensor.light_lohas_6_wifi
- light: light.tradfri_large
- lqi: sensor.tradfri_large_lqi
@@ -241,7 +241,7 @@ card:
name: Entrance
- type: custom:button-card
template: v3_tablet_button
entity: light.light_lohas_6
entity: light.tradfri_large
name: G. Bedroom
- type: custom:decluttering-card
@@ -238,7 +238,7 @@ card:
name: Entrance
- type: custom:button-card
template: v3_tablet_button
entity: light.light_lohas_6
entity: light.tradfri_large
name: G. Bedroom
- type: custom:decluttering-card
@@ -49,7 +49,7 @@
cards:
- type: custom:button-card
template: v3_button_light
entity: light.light_lohas_6
entity: light.tradfri_large
name: Night stand
- type: custom:button-card
template: v3_button
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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