mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-09-07 10:18:44 +00:00
Replace lights
This commit is contained in:
@@ -162,8 +162,8 @@ cards:
|
|||||||
name: Main lights
|
name: Main lights
|
||||||
entities:
|
entities:
|
||||||
- light.hue_ambiance_6
|
- light.hue_ambiance_6
|
||||||
|
- light.hue_ambiance_8
|
||||||
- light.neo_1
|
- light.neo_1
|
||||||
- light.neo_2
|
|
||||||
- type: divider
|
- type: divider
|
||||||
- type: custom:fold-entity-row
|
- type: custom:fold-entity-row
|
||||||
entity: light.kitchen_secondary
|
entity: light.kitchen_secondary
|
||||||
|
|||||||
@@ -27,19 +27,25 @@ automation:
|
|||||||
use_blueprint:
|
use_blueprint:
|
||||||
path: light_on_set_temperature.yaml
|
path: light_on_set_temperature.yaml
|
||||||
input:
|
input:
|
||||||
light: light.living_room_main
|
light:
|
||||||
|
- light.living_room_main
|
||||||
|
- light.pc
|
||||||
|
|
||||||
- alias: Lighting · Living Room · Temperature · Sunset
|
- alias: Lighting · Living Room · Temperature · Sunset
|
||||||
use_blueprint:
|
use_blueprint:
|
||||||
path: light_sun_set_temperature.yaml
|
path: light_sun_set_temperature.yaml
|
||||||
input:
|
input:
|
||||||
light: light.living_room_main
|
light:
|
||||||
|
- light.living_room_main
|
||||||
|
- light.pc
|
||||||
temp: 400
|
temp: 400
|
||||||
|
|
||||||
- alias: Lighting · Living Room · Temperature · Night
|
- alias: Lighting · Living Room · Temperature · Night
|
||||||
use_blueprint:
|
use_blueprint:
|
||||||
path: light_sun_set_temperature.yaml
|
path: light_sun_set_temperature.yaml
|
||||||
input:
|
input:
|
||||||
light: light.living_room_main
|
light:
|
||||||
|
- light.living_room_main
|
||||||
|
- light.pc
|
||||||
temp: 500
|
temp: 500
|
||||||
after_offset: "+03:00:00"
|
after_offset: "+03:00:00"
|
||||||
|
|||||||
@@ -68,8 +68,6 @@ automation:
|
|||||||
- light.light_lohas_2 # living room ambient Secondary
|
- light.light_lohas_2 # living room ambient Secondary
|
||||||
- light.hue_1 # Hallway
|
- light.hue_1 # Hallway
|
||||||
- light.neo_1 # Kitchen
|
- light.neo_1 # Kitchen
|
||||||
- light.neo_2 # Kitchen
|
|
||||||
- light.pc
|
|
||||||
data:
|
data:
|
||||||
rgb_color: [0, 0, 255]
|
rgb_color: [0, 0, 255]
|
||||||
brightness_pct: 100
|
brightness_pct: 100
|
||||||
|
|||||||
@@ -159,7 +159,7 @@ automation:
|
|||||||
payload: ""
|
payload: ""
|
||||||
- service: mqtt.publish
|
- service: mqtt.publish
|
||||||
data:
|
data:
|
||||||
topic: "z2m_deconz/neo_2/get"
|
topic: "z2m_deconz/hue_ambiance_8/get"
|
||||||
payload: ""
|
payload: ""
|
||||||
- service: mqtt.publish
|
- service: mqtt.publish
|
||||||
data:
|
data:
|
||||||
|
|||||||
@@ -47,17 +47,6 @@ light:
|
|||||||
command_topic: "z2m_deconz/hue_white_6/set"
|
command_topic: "z2m_deconz/hue_white_6/set"
|
||||||
brightness_scale: 254
|
brightness_scale: 254
|
||||||
|
|
||||||
- platform: "mqtt"
|
|
||||||
name: "pc"
|
|
||||||
state_topic: "z2m_deconz/hue_white_4"
|
|
||||||
availability_topic: "z2m_deconz/bridge/state"
|
|
||||||
brightness: true
|
|
||||||
color_temp: false
|
|
||||||
xy: false
|
|
||||||
hs: false
|
|
||||||
schema: "json"
|
|
||||||
command_topic: "z2m_deconz/hue_white_4/set"
|
|
||||||
brightness_scale: 254
|
|
||||||
|
|
||||||
- platform: "mqtt"
|
- platform: "mqtt"
|
||||||
name: "hue_ambiance_1"
|
name: "hue_ambiance_1"
|
||||||
@@ -164,7 +153,6 @@ light:
|
|||||||
- "channel_change"
|
- "channel_change"
|
||||||
- "finish_effect"
|
- "finish_effect"
|
||||||
|
|
||||||
|
|
||||||
- platform: "mqtt"
|
- platform: "mqtt"
|
||||||
name: "hue_ambiance_6"
|
name: "hue_ambiance_6"
|
||||||
state_topic: "z2m_deconz/hue_ambiance_6"
|
state_topic: "z2m_deconz/hue_ambiance_6"
|
||||||
@@ -186,6 +174,48 @@ light:
|
|||||||
- "channel_change"
|
- "channel_change"
|
||||||
- "finish_effect"
|
- "finish_effect"
|
||||||
|
|
||||||
|
- platform: "mqtt"
|
||||||
|
name: "pc"
|
||||||
|
state_topic: "z2m_deconz/hue_ambiance_7"
|
||||||
|
availability_topic: "z2m_deconz/bridge/state"
|
||||||
|
brightness: true
|
||||||
|
color_temp: true
|
||||||
|
xy: false
|
||||||
|
hs: false
|
||||||
|
schema: "json"
|
||||||
|
command_topic: "z2m_deconz/hue_ambiance_7/set"
|
||||||
|
brightness_scale: 254
|
||||||
|
max_mireds: 500
|
||||||
|
min_mireds: 150
|
||||||
|
effect: true
|
||||||
|
effect_list:
|
||||||
|
- "blink"
|
||||||
|
- "breathe"
|
||||||
|
- "okay"
|
||||||
|
- "channel_change"
|
||||||
|
- "finish_effect"
|
||||||
|
|
||||||
|
- platform: "mqtt"
|
||||||
|
name: "hue_ambiance_8"
|
||||||
|
state_topic: "z2m_deconz/hue_ambiance_8"
|
||||||
|
availability_topic: "z2m_deconz/bridge/state"
|
||||||
|
brightness: true
|
||||||
|
color_temp: true
|
||||||
|
xy: false
|
||||||
|
hs: false
|
||||||
|
schema: "json"
|
||||||
|
command_topic: "z2m_deconz/hue_ambiance_8/set"
|
||||||
|
brightness_scale: 254
|
||||||
|
max_mireds: 500
|
||||||
|
min_mireds: 150
|
||||||
|
effect: true
|
||||||
|
effect_list:
|
||||||
|
- "blink"
|
||||||
|
- "breathe"
|
||||||
|
- "okay"
|
||||||
|
- "channel_change"
|
||||||
|
- "finish_effect"
|
||||||
|
|
||||||
- platform: "mqtt"
|
- platform: "mqtt"
|
||||||
name: "hue_1"
|
name: "hue_1"
|
||||||
state_topic: "z2m_deconz/hue_1"
|
state_topic: "z2m_deconz/hue_1"
|
||||||
@@ -356,20 +386,6 @@ sensor:
|
|||||||
value_template: "{{ value_json['update']['state'] }}"
|
value_template: "{{ value_json['update']['state'] }}"
|
||||||
|
|
||||||
|
|
||||||
- platform: "mqtt"
|
|
||||||
name: "pc_lqi"
|
|
||||||
state_topic: "z2m_deconz/hue_white_4"
|
|
||||||
availability_topic: "z2m_deconz/bridge/state"
|
|
||||||
value_template: "{{ value_json.linkquality }}"
|
|
||||||
unit_of_measurement: "lqi"
|
|
||||||
icon: "mdi:signal"
|
|
||||||
- platform: "mqtt"
|
|
||||||
name: "pc_update_state"
|
|
||||||
state_topic: "z2m_deconz/hue_white_4"
|
|
||||||
availability_topic: "z2m_deconz/bridge/state"
|
|
||||||
icon: "mdi:update"
|
|
||||||
value_template: "{{ value_json['update']['state'] }}"
|
|
||||||
|
|
||||||
- platform: "mqtt"
|
- platform: "mqtt"
|
||||||
name: "hue_ambiance_1_lqi"
|
name: "hue_ambiance_1_lqi"
|
||||||
state_topic: "z2m_deconz/hue_ambiance_1"
|
state_topic: "z2m_deconz/hue_ambiance_1"
|
||||||
@@ -454,6 +470,34 @@ sensor:
|
|||||||
icon: "mdi:update"
|
icon: "mdi:update"
|
||||||
value_template: "{{ value_json['update']['state'] }}"
|
value_template: "{{ value_json['update']['state'] }}"
|
||||||
|
|
||||||
|
- platform: "mqtt"
|
||||||
|
name: "pc_lqi"
|
||||||
|
state_topic: "z2m_deconz/hue_ambiance_7"
|
||||||
|
availability_topic: "z2m_deconz/bridge/state"
|
||||||
|
value_template: "{{ value_json.linkquality }}"
|
||||||
|
unit_of_measurement: "lqi"
|
||||||
|
icon: "mdi:signal"
|
||||||
|
- platform: "mqtt"
|
||||||
|
name: "pc_update_state"
|
||||||
|
state_topic: "z2m_deconz/hue_ambiance_7"
|
||||||
|
availability_topic: "z2m_deconz/bridge/state"
|
||||||
|
icon: "mdi:update"
|
||||||
|
value_template: "{{ value_json['update']['state'] }}"
|
||||||
|
|
||||||
|
- platform: "mqtt"
|
||||||
|
name: "hue_ambiance_8_lqi"
|
||||||
|
state_topic: "z2m_deconz/hue_ambiance_8"
|
||||||
|
availability_topic: "z2m_deconz/bridge/state"
|
||||||
|
value_template: "{{ value_json.linkquality }}"
|
||||||
|
unit_of_measurement: "lqi"
|
||||||
|
icon: "mdi:signal"
|
||||||
|
- platform: "mqtt"
|
||||||
|
name: "hue_ambiance_8_update_state"
|
||||||
|
state_topic: "z2m_deconz/hue_ambiance_8"
|
||||||
|
availability_topic: "z2m_deconz/bridge/state"
|
||||||
|
icon: "mdi:update"
|
||||||
|
value_template: "{{ value_json['update']['state'] }}"
|
||||||
|
|
||||||
- platform: "mqtt"
|
- platform: "mqtt"
|
||||||
name: "hue_1_lqi"
|
name: "hue_1_lqi"
|
||||||
state_topic: "z2m_deconz/hue_1"
|
state_topic: "z2m_deconz/hue_1"
|
||||||
|
|||||||
@@ -372,6 +372,14 @@ automation:
|
|||||||
data:
|
data:
|
||||||
topic: "z2m_deconz/hue_ambiance_6/get"
|
topic: "z2m_deconz/hue_ambiance_6/get"
|
||||||
payload: ""
|
payload: ""
|
||||||
|
- service: mqtt.publish
|
||||||
|
data:
|
||||||
|
topic: "z2m_deconz/hue_ambiance_7/get"
|
||||||
|
payload: ""
|
||||||
|
- service: mqtt.publish
|
||||||
|
data:
|
||||||
|
topic: "z2m_deconz/hue_ambiance_8/get"
|
||||||
|
payload: ""
|
||||||
- service: mqtt.publish
|
- service: mqtt.publish
|
||||||
data:
|
data:
|
||||||
topic: "z2m_deconz/hue_1/get"
|
topic: "z2m_deconz/hue_1/get"
|
||||||
|
|||||||
Reference in New Issue
Block a user