mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-05-13 19:54:42 +00:00
Add tradfri_large to guest bedroom
This commit is contained in:
@@ -246,8 +246,7 @@ cards:
|
|||||||
show_header_toggle: false
|
show_header_toggle: false
|
||||||
entities:
|
entities:
|
||||||
- type: custom:decluttering-card
|
- type: custom:decluttering-card
|
||||||
template: light_with_fade_and_switch
|
template: light_with_update_and_lqi
|
||||||
variables:
|
variables:
|
||||||
- light: light.light_lohas_6
|
- light: light.tradfri_large
|
||||||
- fade: switch.light_lohas_6
|
- lqi: sensor.tradfri_large_lqi
|
||||||
- wifi: sensor.light_lohas_6_wifi
|
|
||||||
|
|||||||
@@ -241,7 +241,7 @@ card:
|
|||||||
name: Entrance
|
name: Entrance
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: v3_tablet_button
|
template: v3_tablet_button
|
||||||
entity: light.light_lohas_6
|
entity: light.tradfri_large
|
||||||
name: G. Bedroom
|
name: G. Bedroom
|
||||||
|
|
||||||
- type: custom:decluttering-card
|
- type: custom:decluttering-card
|
||||||
|
|||||||
@@ -238,7 +238,7 @@ card:
|
|||||||
name: Entrance
|
name: Entrance
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: v3_tablet_button
|
template: v3_tablet_button
|
||||||
entity: light.light_lohas_6
|
entity: light.tradfri_large
|
||||||
name: G. Bedroom
|
name: G. Bedroom
|
||||||
|
|
||||||
- type: custom:decluttering-card
|
- type: custom:decluttering-card
|
||||||
|
|||||||
@@ -49,7 +49,7 @@
|
|||||||
cards:
|
cards:
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: v3_button_light
|
template: v3_button_light
|
||||||
entity: light.light_lohas_6
|
entity: light.tradfri_large
|
||||||
name: Night stand
|
name: Night stand
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: v3_button
|
template: v3_button
|
||||||
|
|||||||
@@ -102,7 +102,7 @@ automation:
|
|||||||
to: "night"
|
to: "night"
|
||||||
action:
|
action:
|
||||||
- service: light.turn_off
|
- service: light.turn_off
|
||||||
entity_id: light.light_lohas_6
|
entity_id: light.tradfri_large
|
||||||
|
|
||||||
- alias: House mode · Set to day
|
- alias: House mode · Set to day
|
||||||
trigger:
|
trigger:
|
||||||
|
|||||||
@@ -5,14 +5,14 @@ script:
|
|||||||
data:
|
data:
|
||||||
scene_id: guest_bedroom_before_confirm
|
scene_id: guest_bedroom_before_confirm
|
||||||
snapshot_entities:
|
snapshot_entities:
|
||||||
- light.light_lohas_6
|
- light.tradfri_large
|
||||||
- service: light.turn_on
|
- service: light.turn_on
|
||||||
entity_id: light.light_lohas_6
|
entity_id: light.tradfri_large
|
||||||
data:
|
data:
|
||||||
rgb_color: [110, 255, 0]
|
rgb_color: [110, 255, 0]
|
||||||
- delay: 00:00:02
|
- delay: 00:00:02
|
||||||
- service: light.turn_on
|
- service: light.turn_on
|
||||||
entity_id: light.light_lohas_6
|
entity_id: light.tradfri_large
|
||||||
data_template:
|
data_template:
|
||||||
color_temp: "{{ states('input_number.guest_bedroom_light_temp') }}"
|
color_temp: "{{ states('input_number.guest_bedroom_light_temp') }}"
|
||||||
- service: scene.turn_on
|
- service: scene.turn_on
|
||||||
|
|||||||
@@ -142,7 +142,7 @@ light:
|
|||||||
- light.master_bedroom
|
- light.master_bedroom
|
||||||
- light.kitchen
|
- light.kitchen
|
||||||
- light.hallway
|
- light.hallway
|
||||||
- light.light_lohas_6
|
- light.tradfri_large
|
||||||
|
|
||||||
automation:
|
automation:
|
||||||
- alias: Lighting · Sync Kitchen Main states
|
- alias: Lighting · Sync Kitchen Main states
|
||||||
@@ -270,5 +270,6 @@ homeassistant:
|
|||||||
icon: bha:ceiling-spot-lamp
|
icon: bha:ceiling-spot-lamp
|
||||||
|
|
||||||
# Guest Bedroom
|
# Guest Bedroom
|
||||||
light.light_lohas_6:
|
light.tradfri_large:
|
||||||
icon: bha:table-lamp-variant
|
icon: bha:table-lamp-variant
|
||||||
|
name: Night stand
|
||||||
|
|||||||
@@ -12,6 +12,18 @@ mqtt:
|
|||||||
max_mireds: 500
|
max_mireds: 500
|
||||||
min_mireds: 150
|
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"
|
- name: "light_le_1"
|
||||||
state_topic: "tele/light_le_1/STATE"
|
state_topic: "tele/light_le_1/STATE"
|
||||||
state_value_template: "{{ value_json.POWER }}"
|
state_value_template: "{{ value_json.POWER }}"
|
||||||
@@ -175,6 +187,13 @@ mqtt:
|
|||||||
unit_of_measurement: "lqi"
|
unit_of_measurement: "lqi"
|
||||||
device_class: "signal_strength"
|
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"
|
- name: "light_le_1_wifi"
|
||||||
availability_topic: "tele/light_le_1/LWT"
|
availability_topic: "tele/light_le_1/LWT"
|
||||||
device_class: signal_strength
|
device_class: signal_strength
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ script:
|
|||||||
- light.kitchen_secondary
|
- light.kitchen_secondary
|
||||||
- light.hallway_main
|
- light.hallway_main
|
||||||
- light.hallway_entrance
|
- light.hallway_entrance
|
||||||
- light.light_lohas_6
|
- light.tradfri_large
|
||||||
- media_player.nvidia_shield
|
- media_player.nvidia_shield
|
||||||
- media_player.living_room_tv
|
- media_player.living_room_tv
|
||||||
- switch.cadmium
|
- switch.cadmium
|
||||||
|
|||||||
Reference in New Issue
Block a user