mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-06-21 10:57:43 +00:00
Move config out of subfolder
This commit is contained in:
@@ -0,0 +1,110 @@
|
||||
script:
|
||||
apply_bedroom_ambient_neon:
|
||||
sequence:
|
||||
- service: scene.turn_on
|
||||
entity_id: scene.bedroom_ambient_neon
|
||||
apply_bedroom_neon:
|
||||
sequence:
|
||||
- service: light.turn_on
|
||||
entity_id: light.master_bedroom_main
|
||||
- delay: "00:00:01"
|
||||
- service: light.turn_on
|
||||
entity_id: light.master_bedroom_main
|
||||
data:
|
||||
rgb_color: [255, 0, 63]
|
||||
brightness: 153
|
||||
- delay: "00:00:02"
|
||||
- service: scene.turn_on
|
||||
entity_id: scene.bedroom_ambient_neon
|
||||
apply_bedroom_pink:
|
||||
sequence:
|
||||
- service: light.turn_on
|
||||
entity_id: light.master_bedroom_main
|
||||
- delay: "00:00:01"
|
||||
- service: light.turn_on
|
||||
entity_id: light.master_bedroom_main
|
||||
data:
|
||||
rgb_color: [255, 92, 38]
|
||||
brightness: 120
|
||||
- delay: "00:00:02"
|
||||
- service: scene.turn_on
|
||||
entity_id: scene.bedroom_ambient_pink
|
||||
|
||||
scene:
|
||||
- name: Bedroom Neon
|
||||
icon: "mdi:weather-night"
|
||||
entities:
|
||||
light.master_bedroom_main:
|
||||
state: 'on'
|
||||
xy_color: [0.66, 0.28]
|
||||
brightness: 254
|
||||
light.bedside:
|
||||
state: "on"
|
||||
rgb_color: [0, 255, 190]
|
||||
brightness: 230
|
||||
|
||||
- name: Bedroom Ambient Neon
|
||||
icon: "mdi:weather-night"
|
||||
entities:
|
||||
light.bedside:
|
||||
state: "on"
|
||||
rgb_color: [0, 255, 190]
|
||||
brightness: 230
|
||||
|
||||
- name: Bedroom Pink
|
||||
icon: "mdi:weather-night"
|
||||
entities:
|
||||
light.master_bedroom_main:
|
||||
state: "on"
|
||||
rgb_color: [255, 36, 145]
|
||||
brightness: 114
|
||||
light.bedside:
|
||||
state: "on"
|
||||
rgb_color: [255, 36, 145]
|
||||
brightness: 230
|
||||
|
||||
- name: Bedroom Ambient Pink
|
||||
icon: "mdi:weather-night"
|
||||
entities:
|
||||
light.bedside:
|
||||
state: "on"
|
||||
rgb_color: [255, 36, 145]
|
||||
brightness: 230
|
||||
|
||||
- name: Bedroom Ambient Default
|
||||
icon: "mdi:weather-sunny"
|
||||
entities:
|
||||
light.bedside:
|
||||
state: "on"
|
||||
color_temp: 359
|
||||
brightness: 255
|
||||
|
||||
- name: Bedroom Default
|
||||
icon: "mdi:weather-sunny"
|
||||
entities:
|
||||
light.master_bedroom_main:
|
||||
state: "on"
|
||||
brightness: 255
|
||||
color_temp: 350
|
||||
light.bedside:
|
||||
state: "on"
|
||||
color_temp: 359
|
||||
brightness: 255
|
||||
|
||||
automation:
|
||||
- alias: Lighting · Bedroom · Door open
|
||||
trigger:
|
||||
platform: state
|
||||
entity_id: binary_sensor.bedroom_door
|
||||
to: "on"
|
||||
condition:
|
||||
and:
|
||||
- condition: sun
|
||||
after: sunset
|
||||
after_offset: "-02:00:00"
|
||||
- condition: state
|
||||
entity_id: input_select.bedroom_mode
|
||||
state: 'day'
|
||||
action:
|
||||
- service: light.turn_on
|
||||
entity_id: light.master_bedroom_main
|
||||
@@ -0,0 +1,22 @@
|
||||
script:
|
||||
guest_bedroom_bedside_confirm:
|
||||
sequence:
|
||||
- service: scene.create
|
||||
data:
|
||||
scene_id: guest_bedroom_before_confirm
|
||||
snapshot_entities:
|
||||
- light.tradfri_large
|
||||
- service: light.turn_on
|
||||
entity_id: light.tradfri_large
|
||||
data:
|
||||
color_temp: 500
|
||||
# rgb_color: [110, 255, 0]
|
||||
- delay: 00:00:02
|
||||
- service: light.turn_on
|
||||
entity_id: light.tradfri_large
|
||||
data_template:
|
||||
color_temp: "{{ states('input_number.guest_bedroom_light_temp') }}"
|
||||
- delay: 00:00:02
|
||||
- service: scene.turn_on
|
||||
entity_id: scene.guest_bedroom_before_confirm
|
||||
- delay: 00:00:01
|
||||
@@ -0,0 +1,59 @@
|
||||
automation:
|
||||
- alias: Lighting · Hallway · Motion On
|
||||
trigger:
|
||||
platform: state
|
||||
entity_id: group.hallway_motion
|
||||
to: "on"
|
||||
condition:
|
||||
condition: state
|
||||
entity_id: binary_sensor.someone_home
|
||||
state: "on"
|
||||
action:
|
||||
- choose:
|
||||
# Turn on in Day Mode
|
||||
- conditions:
|
||||
- condition: state
|
||||
entity_id: binary_sensor.someone_sleeping
|
||||
state: "off"
|
||||
sequence:
|
||||
- service: light.turn_on
|
||||
entity_id:
|
||||
- light.hallway
|
||||
- light.browser_hallway
|
||||
data:
|
||||
brightness_pct: 100
|
||||
# Turn off in Night Mode
|
||||
default:
|
||||
- service: light.turn_on
|
||||
entity_id:
|
||||
- light.hue_white_1
|
||||
- light.hue_1
|
||||
data:
|
||||
brightness_pct: 1
|
||||
- service: script.browser_hallway_low
|
||||
|
||||
- alias: Lighting · Hallway · Motion Off
|
||||
trigger:
|
||||
platform: state
|
||||
entity_id: group.hallway_motion
|
||||
to: "off"
|
||||
for: "00:01:00"
|
||||
action:
|
||||
- choose:
|
||||
# Turn off in Day Mode
|
||||
- conditions:
|
||||
- condition: state
|
||||
entity_id: binary_sensor.someone_sleeping
|
||||
state: 'off'
|
||||
sequence:
|
||||
- service: light.turn_off
|
||||
entity_id: light.hallway
|
||||
- service: script.browser_hallway_low
|
||||
# Turn off in Night Mode
|
||||
default:
|
||||
- service: light.turn_off
|
||||
entity_id:
|
||||
- light.hue_white_1
|
||||
- light.hue_1
|
||||
- light.hallway
|
||||
- service: script.browser_hallway_low
|
||||
@@ -0,0 +1,93 @@
|
||||
automation:
|
||||
- alias: Lighting · Kitchen · Motion on
|
||||
trigger:
|
||||
platform: state
|
||||
entity_id: binary_sensor.kitchen_motion_occupancy
|
||||
to: "on"
|
||||
condition:
|
||||
condition: state
|
||||
entity_id: binary_sensor.someone_home
|
||||
state: "on"
|
||||
action:
|
||||
- choose:
|
||||
# Turn on in Day Mode
|
||||
- conditions:
|
||||
- condition: state
|
||||
entity_id: sensor.house_mode
|
||||
state: 'day'
|
||||
sequence:
|
||||
- service: light.turn_on
|
||||
entity_id: light.browser_kitchen
|
||||
data:
|
||||
brightness_pct: 100
|
||||
- or:
|
||||
- or:
|
||||
- condition: sun
|
||||
after: sunset
|
||||
after_offset: "-01:00:00"
|
||||
- condition: sun
|
||||
before: sunrise
|
||||
- condition: numeric_state
|
||||
entity_id: sensor.dark_sky_cloud_coverage
|
||||
above: 80
|
||||
- service: light.turn_on
|
||||
entity_id:
|
||||
- light.kitchen_main
|
||||
- light.kitchen_secondary
|
||||
data:
|
||||
brightness_pct: 100
|
||||
# Turn on in Night Mode
|
||||
default:
|
||||
- service: light.turn_on
|
||||
entity_id:
|
||||
- light.hue_ambiance_6
|
||||
- light.hue_ambiance_1
|
||||
data:
|
||||
brightness_pct: 1
|
||||
- service: script.browser_kitchen_low
|
||||
|
||||
- alias: Lighting · Kitchen · Night · Motion off
|
||||
trigger:
|
||||
platform: state
|
||||
entity_id: binary_sensor.kitchen_motion_occupancy
|
||||
to: "off"
|
||||
for:
|
||||
minutes: 5
|
||||
condition:
|
||||
condition: not
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: sensor.house_mode
|
||||
state: 'day'
|
||||
action:
|
||||
# Turn off in Night Mode
|
||||
- service: light.turn_on
|
||||
entity_id:
|
||||
- light.hue_ambiance_6
|
||||
- light.hue_ambiance_1
|
||||
data:
|
||||
brightness_pct: 100
|
||||
- service: light.turn_off
|
||||
entity_id:
|
||||
- light.hue_ambiance_6
|
||||
- light.hue_ambiance_1
|
||||
- light.kitchen_main
|
||||
- light.kitchen_secondary
|
||||
- service: script.browser_kitchen_low
|
||||
|
||||
- alias: Lighting · Kitchen · Day · Motion off
|
||||
trigger:
|
||||
platform: state
|
||||
entity_id: binary_sensor.kitchen_motion_occupancy
|
||||
to: "off"
|
||||
for:
|
||||
minutes: 15
|
||||
condition:
|
||||
condition: state
|
||||
entity_id: sensor.house_mode
|
||||
state: 'day'
|
||||
action:
|
||||
# Turn off in Day Mode
|
||||
- service: light.turn_off
|
||||
entity_id: light.kitchen
|
||||
- service: script.browser_kitchen_low
|
||||
@@ -0,0 +1,23 @@
|
||||
scene:
|
||||
- name: Living Room Ambient Neon
|
||||
icon: "mdi:weather-night"
|
||||
entities:
|
||||
light.light_lohas_2:
|
||||
state: "on"
|
||||
xy_color: [0.668, 0.284]
|
||||
brightness_pct: 80
|
||||
light.living_room_ambient_main:
|
||||
state: "on"
|
||||
rgb_color: [0, 255, 190]
|
||||
brightness_pct: 100
|
||||
- name: Living Room Ambient Default
|
||||
icon: "mdi:weather-sunny"
|
||||
entities:
|
||||
light.light_lohas_2:
|
||||
state: "on"
|
||||
color_temp: 500
|
||||
brightness_pct: 100
|
||||
light.living_room_ambient_main:
|
||||
state: "on"
|
||||
color_temp: 284
|
||||
brightness_pct: 80
|
||||
@@ -0,0 +1,71 @@
|
||||
input_select:
|
||||
light_color_mode:
|
||||
name: Light color mode
|
||||
icon: mdi:format-color-fill
|
||||
options:
|
||||
- normal
|
||||
- blue
|
||||
|
||||
automation:
|
||||
- alias: Light · Color · Default
|
||||
trigger:
|
||||
platform: state
|
||||
entity_id: input_select.light_color_mode
|
||||
to: "normal"
|
||||
action:
|
||||
- service: scene.turn_on
|
||||
entity_id:
|
||||
- scene.living_room_ambient_neon
|
||||
- scene.bedroom_ambient_neon
|
||||
- service: light.turn_on
|
||||
entity_id:
|
||||
- light.living_room_main
|
||||
- light.pc
|
||||
- light.master_bedroom_main
|
||||
- light.hallway
|
||||
- light.kitchen
|
||||
data:
|
||||
brightness_pct: 100
|
||||
color_temp: 500
|
||||
|
||||
- service: automation.turn_on
|
||||
entity_id:
|
||||
- automation.lighting_hallway_motion_on
|
||||
- automation.lighting_hallway_motion_off
|
||||
- automation.lighting_kitchen_motion_on
|
||||
- automation.lighting_kitchen_motion_off
|
||||
|
||||
|
||||
- alias: Light · Color · Blue
|
||||
trigger:
|
||||
platform: state
|
||||
entity_id: input_select.light_color_mode
|
||||
to: "blue"
|
||||
action:
|
||||
- service: automation.turn_off
|
||||
entity_id:
|
||||
- automation.lighting_hallway_motion_on
|
||||
- automation.lighting_hallway_motion_off
|
||||
- automation.lighting_kitchen_motion_on
|
||||
- automation.lighting_kitchen_motion_off
|
||||
- service: light.turn_off
|
||||
entity_id:
|
||||
- light.living_room_main
|
||||
- light.hallway
|
||||
- light.kitchen
|
||||
|
||||
- service: light.turn_on
|
||||
entity_id:
|
||||
- light.living_room_ambient_main
|
||||
- light.bedside
|
||||
- light.master_bedroom_main
|
||||
data:
|
||||
rgb_color: [0, 0, 255]
|
||||
brightness_pct: 40
|
||||
- service: light.turn_on
|
||||
entity_id:
|
||||
- light.light_lohas_2 # living room ambient Secondary
|
||||
- light.hue_1 # Hallway
|
||||
data:
|
||||
rgb_color: [0, 0, 255]
|
||||
brightness_pct: 100
|
||||
@@ -0,0 +1,29 @@
|
||||
automation:
|
||||
- alias: Lighting · Turn on ceiling lights after sunset
|
||||
trigger:
|
||||
platform: sun
|
||||
event: sunset
|
||||
offset: "-00:30:00"
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: binary_sensor.someone_home
|
||||
state: "on"
|
||||
action:
|
||||
- service: light.turn_on
|
||||
entity_id: light.on_after_dark
|
||||
data:
|
||||
brightness_pct: 100
|
||||
- service: logbook.log
|
||||
data:
|
||||
name: "💡 Lighting Module · "
|
||||
message: "Lights On · 30 mins to sunset"
|
||||
domain: light
|
||||
|
||||
- alias: Lighting · Turn off all lights after sunrise
|
||||
trigger:
|
||||
platform: sun
|
||||
event: sunrise
|
||||
offset: "+00:00:00"
|
||||
action:
|
||||
- service: light.turn_off
|
||||
entity_id: light.all
|
||||
@@ -0,0 +1,9 @@
|
||||
# https://www.home-assistant.io/integrations/yeelight
|
||||
yeelight:
|
||||
devices:
|
||||
!secret yeelight_bedside_ip:
|
||||
name: Bedside
|
||||
model: color1
|
||||
!secret yeelight_living_room_ip:
|
||||
name: Living room Ambient main
|
||||
model: color1
|
||||
@@ -0,0 +1,304 @@
|
||||
# mqtt:
|
||||
# light:
|
||||
# - name: "Hallway main"
|
||||
# state_topic: "z2m_deconz/light_hallway_main"
|
||||
# availability_topic: "z2m_deconz/bridge/state"
|
||||
# brightness: true
|
||||
# color_temp: true
|
||||
# xy: false
|
||||
# hs: false
|
||||
# schema: "json"
|
||||
# command_topic: "z2m_deconz/light_hallway_main/set"
|
||||
# brightness_scale: 254
|
||||
# max_mireds: 500
|
||||
# min_mireds: 150
|
||||
|
||||
# - name: "Hallway entrance"
|
||||
# state_topic: "z2m_deconz/light_hallway_entrance"
|
||||
# availability_topic: "z2m_deconz/bridge/state"
|
||||
# brightness: true
|
||||
# color_temp: false
|
||||
# xy: false
|
||||
# hs: false
|
||||
# schema: "json"
|
||||
# command_topic: "z2m_deconz/light_hallway_entrance/set"
|
||||
# brightness_scale: 254
|
||||
|
||||
# - name: "Kitchen main"
|
||||
# state_topic: "z2m_deconz/light_kitchen_main"
|
||||
# availability_topic: "z2m_deconz/bridge/state"
|
||||
# brightness: true
|
||||
# color_temp: true
|
||||
# xy: false
|
||||
# hs: false
|
||||
# schema: "json"
|
||||
# command_topic: "z2m_deconz/light_kitchen_main/set"
|
||||
# brightness_scale: 254
|
||||
# max_mireds: 500
|
||||
# min_mireds: 150
|
||||
# effect: true
|
||||
# effect_list:
|
||||
# - "blink"
|
||||
# - "breathe"
|
||||
# - "okay"
|
||||
# - "channel_change"
|
||||
# - "finish_effect"
|
||||
|
||||
# - name: "Kitchen secondary"
|
||||
# availability_topic: "z2m_deconz/bridge/state"
|
||||
# brightness: true
|
||||
# brightness_scale: 254
|
||||
# color_mode: true
|
||||
# command_topic: "z2m_deconz/light_kitchen_secondary/set"
|
||||
# effect: true
|
||||
# effect_list:
|
||||
# - "blink"
|
||||
# - "breathe"
|
||||
# - "okay"
|
||||
# - "channel_change"
|
||||
# - "finish_effect"
|
||||
# - "stop_effect"
|
||||
# json_attributes_topic: "z2m_deconz/light_kitchen_secondary"
|
||||
# max_mireds: 454
|
||||
# min_mireds: 153
|
||||
# schema: "json"
|
||||
# state_topic: "z2m_deconz/light_kitchen_secondary"
|
||||
# supported_color_modes: ["color_temp"]
|
||||
|
||||
|
||||
light:
|
||||
- platform: group
|
||||
name: Living room main
|
||||
entities:
|
||||
- light.light_le_1
|
||||
- light.light_le_2
|
||||
- light.light_le_3
|
||||
- light.light_le_4
|
||||
|
||||
- platform: group
|
||||
name: Living room ceiling
|
||||
entities:
|
||||
- light.living_room_main
|
||||
- light.pc
|
||||
|
||||
- platform: group
|
||||
name: Living room ambient
|
||||
entities:
|
||||
- light.living_room_ambient_main
|
||||
- light.light_lohas_2
|
||||
|
||||
- platform: group
|
||||
name: Living room
|
||||
entities:
|
||||
- light.living_room_ceiling
|
||||
- light.living_room_ambient
|
||||
|
||||
- platform: group
|
||||
name: Master bedroom main
|
||||
entities:
|
||||
- light.hue_2
|
||||
- light.hue_3
|
||||
- light.hue_4
|
||||
- light.hue_5
|
||||
|
||||
- platform: group
|
||||
name: Master bedroom
|
||||
entities:
|
||||
- light.master_bedroom_main
|
||||
- light.bedside
|
||||
|
||||
- platform: group
|
||||
name: Kitchen main
|
||||
entities:
|
||||
- light.tradfri_1
|
||||
- light.hue_ambiance_6
|
||||
- light.hue_ambiance_8
|
||||
|
||||
- platform: group
|
||||
name: Kitchen secondary
|
||||
entities:
|
||||
- light.hue_ambiance_1
|
||||
- light.hue_ambiance_2
|
||||
- light.hue_ambiance_3
|
||||
- light.hue_ambiance_4
|
||||
|
||||
- platform: group
|
||||
name: Kitchen
|
||||
entities:
|
||||
- light.kitchen_main
|
||||
- light.kitchen_secondary
|
||||
|
||||
- platform: group
|
||||
name: Hallway main
|
||||
entities:
|
||||
- light.hue_ambiance_5
|
||||
- light.hue_1
|
||||
|
||||
- platform: group
|
||||
name: Hallway entrance
|
||||
entities:
|
||||
- light.hue_white_1
|
||||
- light.hue_white_2
|
||||
|
||||
- platform: group
|
||||
name: Hallway
|
||||
entities:
|
||||
- light.hallway_entrance
|
||||
- light.hallway_main
|
||||
|
||||
- platform: group
|
||||
name: On after dark
|
||||
entities:
|
||||
- light.living_room_main
|
||||
- light.pc
|
||||
- light.master_bedroom_main
|
||||
- light.bedside
|
||||
- light.hallway
|
||||
|
||||
- platform: group
|
||||
name: Ceiling
|
||||
entities:
|
||||
- light.living_room_main
|
||||
- light.pc
|
||||
- light.master_bedroom_main
|
||||
- light.kitchen
|
||||
- light.hallway
|
||||
|
||||
- platform: group
|
||||
name: All
|
||||
entities:
|
||||
- light.living_room
|
||||
- light.master_bedroom
|
||||
- light.kitchen
|
||||
- light.hallway
|
||||
- light.tradfri_large
|
||||
|
||||
# automation:
|
||||
# - alias: Lighting · Sync Kitchen Main states
|
||||
# trigger:
|
||||
# platform: state
|
||||
# entity_id: light.kitchen_main
|
||||
# action:
|
||||
# - delay: "00:00:03"
|
||||
# - service: mqtt.publish
|
||||
# data:
|
||||
# topic: "z2m_deconz/tradfri_1/get"
|
||||
# payload: ""
|
||||
# - service: mqtt.publish
|
||||
# data:
|
||||
# topic: "z2m_deconz/hue_ambiance_8/get"
|
||||
# payload: ""
|
||||
# - service: mqtt.publish
|
||||
# data:
|
||||
# topic: "z2m_deconz/hue_ambiance_6/get"
|
||||
# payload: ""
|
||||
|
||||
# - alias: Lighting · Sync Kitchen Secondary states
|
||||
# trigger:
|
||||
# platform: state
|
||||
# entity_id: light.kitchen_secondary
|
||||
# action:
|
||||
# - delay: "00:00:03"
|
||||
# - service: mqtt.publish
|
||||
# data:
|
||||
# topic: "z2m_deconz/hue_ambiance_1/get"
|
||||
# payload: ""
|
||||
# - service: mqtt.publish
|
||||
# data:
|
||||
# topic: "z2m_deconz/hue_ambiance_2/get"
|
||||
# payload: ""
|
||||
# - service: mqtt.publish
|
||||
# data:
|
||||
# topic: "z2m_deconz/hue_ambiance_3/get"
|
||||
# payload: ""
|
||||
# - service: mqtt.publish
|
||||
# data:
|
||||
# topic: "z2m_deconz/hue_ambiance_4/get"
|
||||
# payload: ""
|
||||
|
||||
# - alias: Lighting · Sync Hallway Main states
|
||||
# trigger:
|
||||
# platform: state
|
||||
# entity_id: light.hallway_main
|
||||
# action:
|
||||
# - delay: "00:00:03"
|
||||
# - service: mqtt.publish
|
||||
# data:
|
||||
# topic: "z2m_deconz/hue_ambiance_5/get"
|
||||
# payload: ""
|
||||
# - service: mqtt.publish
|
||||
# data:
|
||||
# topic: "z2m_deconz/hue_1/get"
|
||||
# payload: ""
|
||||
|
||||
# - alias: Lighting · Sync Hallway Entrance states
|
||||
# trigger:
|
||||
# platform: state
|
||||
# entity_id: light.hallway_main
|
||||
# action:
|
||||
# - delay: "00:00:03"
|
||||
# - service: mqtt.publish
|
||||
# data:
|
||||
# topic: "z2m_deconz/hue_white_1/get"
|
||||
# payload: ""
|
||||
# - service: mqtt.publish
|
||||
# data:
|
||||
# topic: "z2m_deconz/hue_white_2/get"
|
||||
# payload: ""
|
||||
|
||||
|
||||
homeassistant:
|
||||
customize:
|
||||
light.ceiling:
|
||||
icon: mdi:ceiling-light
|
||||
|
||||
# Living room
|
||||
light.living_room:
|
||||
icon: mdi:lightbulb-group
|
||||
light.living_room_ceiling:
|
||||
icon: mdi:ceiling-light
|
||||
|
||||
light.living_room_main:
|
||||
icon: bha:ceiling-spot-lamp
|
||||
|
||||
light.pc:
|
||||
friendly_name: PC
|
||||
icon: bha:outdoor-lamp-variant
|
||||
|
||||
light.living_room_ambient:
|
||||
icon: mdi:floor-lamp-dual
|
||||
light.light_lohas_2:
|
||||
friendly_name: Living room ambient secondary
|
||||
|
||||
# Master bedroom
|
||||
light.master_bedroom:
|
||||
friendly_name: Bedroom
|
||||
icon: mdi:lightbulb-group
|
||||
|
||||
light.master_bedroom_main:
|
||||
friendly_name: Bedroom main
|
||||
icon: bha:ceiling-spot-lamp
|
||||
|
||||
light.bedside:
|
||||
icon: mdi:desk-lamp
|
||||
|
||||
# Kitchen
|
||||
light.kitchen_main:
|
||||
icon: bha:ceiling-spot-lamp
|
||||
light.kitchen_secondary:
|
||||
icon: bha:ceiling-spot-lamp
|
||||
|
||||
# Hallway
|
||||
light.hallway:
|
||||
icon: mdi:lightbulb-group
|
||||
|
||||
light.hallway_entrance:
|
||||
icon: bha:ceiling-spot-lamp
|
||||
|
||||
light.hallway_main:
|
||||
icon: bha:ceiling-spot-lamp
|
||||
|
||||
# Guest Bedroom
|
||||
light.tradfri_large:
|
||||
icon: bha:table-lamp-variant
|
||||
name: Night stand
|
||||
@@ -0,0 +1,616 @@
|
||||
mqtt:
|
||||
light:
|
||||
- name: "hue_white_1"
|
||||
state_topic: "z2m_deconz/hue_white_1"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
brightness: true
|
||||
color_temp: false
|
||||
xy: false
|
||||
hs: false
|
||||
schema: "json"
|
||||
command_topic: "z2m_deconz/hue_white_1/set"
|
||||
brightness_scale: 254
|
||||
|
||||
- name: "hue_white_2"
|
||||
state_topic: "z2m_deconz/hue_white_2"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
brightness: true
|
||||
color_temp: false
|
||||
xy: false
|
||||
hs: false
|
||||
schema: "json"
|
||||
command_topic: "z2m_deconz/hue_white_2/set"
|
||||
brightness_scale: 254
|
||||
|
||||
- name: "hue_white_5"
|
||||
state_topic: "z2m_deconz/hue_white_5"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
brightness: true
|
||||
color_temp: false
|
||||
xy: false
|
||||
hs: false
|
||||
schema: "json"
|
||||
command_topic: "z2m_deconz/hue_white_5/set"
|
||||
brightness_scale: 254
|
||||
|
||||
- name: "hue_white_6"
|
||||
state_topic: "z2m_deconz/hue_white_6"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
brightness: true
|
||||
color_temp: false
|
||||
xy: false
|
||||
hs: false
|
||||
schema: "json"
|
||||
command_topic: "z2m_deconz/hue_white_6/set"
|
||||
brightness_scale: 254
|
||||
|
||||
|
||||
- name: "hue_ambiance_1"
|
||||
state_topic: "z2m_deconz/hue_ambiance_1"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
brightness: true
|
||||
color_temp: true
|
||||
xy: false
|
||||
hs: false
|
||||
schema: "json"
|
||||
command_topic: "z2m_deconz/hue_ambiance_1/set"
|
||||
brightness_scale: 254
|
||||
max_mireds: 500
|
||||
min_mireds: 150
|
||||
effect: true
|
||||
effect_list:
|
||||
- "blink"
|
||||
- "breathe"
|
||||
- "okay"
|
||||
- "channel_change"
|
||||
- "finish_effect"
|
||||
|
||||
- name: "hue_ambiance_2"
|
||||
state_topic: "z2m_deconz/hue_ambiance_2"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
brightness: true
|
||||
color_temp: true
|
||||
xy: false
|
||||
hs: false
|
||||
schema: "json"
|
||||
command_topic: "z2m_deconz/hue_ambiance_2/set"
|
||||
brightness_scale: 254
|
||||
max_mireds: 500
|
||||
min_mireds: 150
|
||||
effect: true
|
||||
effect_list:
|
||||
- "blink"
|
||||
- "breathe"
|
||||
- "okay"
|
||||
- "channel_change"
|
||||
- "finish_effect"
|
||||
|
||||
- name: "hue_ambiance_3"
|
||||
state_topic: "z2m_deconz/hue_ambiance_3"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
brightness: true
|
||||
color_temp: true
|
||||
xy: false
|
||||
hs: false
|
||||
schema: "json"
|
||||
command_topic: "z2m_deconz/hue_ambiance_3/set"
|
||||
brightness_scale: 254
|
||||
max_mireds: 500
|
||||
min_mireds: 150
|
||||
effect: true
|
||||
effect_list:
|
||||
- "blink"
|
||||
- "breathe"
|
||||
- "okay"
|
||||
- "channel_change"
|
||||
- "finish_effect"
|
||||
|
||||
- name: "hue_ambiance_4"
|
||||
state_topic: "z2m_deconz/hue_ambiance_4"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
brightness: true
|
||||
color_temp: true
|
||||
xy: false
|
||||
hs: false
|
||||
schema: "json"
|
||||
command_topic: "z2m_deconz/hue_ambiance_4/set"
|
||||
brightness_scale: 254
|
||||
max_mireds: 500
|
||||
min_mireds: 150
|
||||
effect: true
|
||||
effect_list:
|
||||
- "blink"
|
||||
- "breathe"
|
||||
- "okay"
|
||||
- "channel_change"
|
||||
- "finish_effect"
|
||||
|
||||
- name: "hue_ambiance_5"
|
||||
state_topic: "z2m_deconz/hue_ambiance_5"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
brightness: true
|
||||
color_temp: true
|
||||
xy: false
|
||||
hs: false
|
||||
schema: "json"
|
||||
command_topic: "z2m_deconz/hue_ambiance_5/set"
|
||||
brightness_scale: 254
|
||||
max_mireds: 500
|
||||
min_mireds: 150
|
||||
effect: true
|
||||
effect_list:
|
||||
- "blink"
|
||||
- "breathe"
|
||||
- "okay"
|
||||
- "channel_change"
|
||||
- "finish_effect"
|
||||
|
||||
- name: "hue_ambiance_6"
|
||||
state_topic: "z2m_deconz/hue_ambiance_6"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
brightness: true
|
||||
color_temp: true
|
||||
xy: false
|
||||
hs: false
|
||||
schema: "json"
|
||||
command_topic: "z2m_deconz/hue_ambiance_6/set"
|
||||
brightness_scale: 254
|
||||
max_mireds: 500
|
||||
min_mireds: 150
|
||||
effect: true
|
||||
effect_list:
|
||||
- "blink"
|
||||
- "breathe"
|
||||
- "okay"
|
||||
- "channel_change"
|
||||
- "finish_effect"
|
||||
|
||||
- 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"
|
||||
|
||||
- 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"
|
||||
|
||||
- name: "hue_1"
|
||||
state_topic: "z2m_deconz/hue_1"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
brightness: true
|
||||
color_temp: true
|
||||
xy: true
|
||||
hs: false
|
||||
schema: "json"
|
||||
command_topic: "z2m_deconz/hue_1/set"
|
||||
brightness_scale: 254
|
||||
max_mireds: 500
|
||||
min_mireds: 150
|
||||
effect: true
|
||||
effect_list:
|
||||
- "blink"
|
||||
- "breathe"
|
||||
- "okay"
|
||||
- "channel_change"
|
||||
- "finish_effect"
|
||||
- "stop_effect"
|
||||
|
||||
- name: "hue_2"
|
||||
state_topic: "z2m_deconz/hue_2"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
brightness: true
|
||||
color_temp: true
|
||||
xy: true
|
||||
hs: false
|
||||
schema: "json"
|
||||
command_topic: "z2m_deconz/hue_2/set"
|
||||
brightness_scale: 254
|
||||
max_mireds: 500
|
||||
min_mireds: 150
|
||||
effect: true
|
||||
effect_list:
|
||||
- "blink"
|
||||
- "breathe"
|
||||
- "okay"
|
||||
- "channel_change"
|
||||
- "finish_effect"
|
||||
- "stop_effect"
|
||||
|
||||
- name: "hue_3"
|
||||
state_topic: "z2m_deconz/hue_3"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
brightness: true
|
||||
color_temp: true
|
||||
xy: true
|
||||
hs: false
|
||||
schema: "json"
|
||||
command_topic: "z2m_deconz/hue_3/set"
|
||||
brightness_scale: 254
|
||||
max_mireds: 500
|
||||
min_mireds: 150
|
||||
effect: true
|
||||
effect_list:
|
||||
- "blink"
|
||||
- "breathe"
|
||||
- "okay"
|
||||
- "channel_change"
|
||||
- "finish_effect"
|
||||
- "stop_effect"
|
||||
|
||||
- name: "hue_4"
|
||||
state_topic: "z2m_deconz/hue_4"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
brightness: true
|
||||
color_temp: true
|
||||
xy: true
|
||||
hs: false
|
||||
schema: "json"
|
||||
command_topic: "z2m_deconz/hue_4/set"
|
||||
brightness_scale: 254
|
||||
max_mireds: 500
|
||||
min_mireds: 150
|
||||
effect: true
|
||||
effect_list:
|
||||
- "blink"
|
||||
- "breathe"
|
||||
- "okay"
|
||||
- "channel_change"
|
||||
- "finish_effect"
|
||||
- "stop_effect"
|
||||
|
||||
- name: "hue_5"
|
||||
state_topic: "z2m_deconz/hue_5"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
brightness: true
|
||||
color_temp: true
|
||||
xy: true
|
||||
hs: false
|
||||
schema: "json"
|
||||
command_topic: "z2m_deconz/hue_5/set"
|
||||
brightness_scale: 254
|
||||
max_mireds: 500
|
||||
min_mireds: 150
|
||||
effect: true
|
||||
effect_list:
|
||||
- "blink"
|
||||
- "breathe"
|
||||
- "okay"
|
||||
- "channel_change"
|
||||
- "finish_effect"
|
||||
- "stop_effect"
|
||||
|
||||
|
||||
sensor:
|
||||
- name: "hue_white_1_lqi"
|
||||
state_topic: "z2m_deconz/hue_white_1"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
value_template: "{{ value_json.linkquality }}"
|
||||
unit_of_measurement: "lqi"
|
||||
device_class: "signal_strength"
|
||||
- name: "hue_white_1_update_state"
|
||||
state_topic: "z2m_deconz/hue_white_1"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
icon: "mdi:update"
|
||||
value_template: "{{ value_json['update']['state'] }}"
|
||||
|
||||
- name: "hue_white_2_lqi"
|
||||
state_topic: "z2m_deconz/hue_white_2"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
value_template: "{{ value_json.linkquality }}"
|
||||
unit_of_measurement: "lqi"
|
||||
device_class: "signal_strength"
|
||||
- name: "hue_white_2_update_state"
|
||||
state_topic: "z2m_deconz/hue_white_2"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
icon: "mdi:update"
|
||||
value_template: "{{ value_json['update']['state'] }}"
|
||||
|
||||
- name: "hue_white_5_lqi"
|
||||
state_topic: "z2m_deconz/hue_white_5"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
value_template: "{{ value_json.linkquality }}"
|
||||
unit_of_measurement: "lqi"
|
||||
device_class: "signal_strength"
|
||||
- name: "hue_white_5_update_state"
|
||||
state_topic: "z2m_deconz/hue_white_5"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
icon: "mdi:update"
|
||||
value_template: "{{ value_json['update']['state'] }}"
|
||||
|
||||
|
||||
- name: "hue_white_6_lqi"
|
||||
state_topic: "z2m_deconz/hue_white_6"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
value_template: "{{ value_json.linkquality }}"
|
||||
unit_of_measurement: "lqi"
|
||||
device_class: "signal_strength"
|
||||
- name: "hue_white_6_update_state"
|
||||
state_topic: "z2m_deconz/hue_white_6"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
icon: "mdi:update"
|
||||
value_template: "{{ value_json['update']['state'] }}"
|
||||
|
||||
|
||||
- name: "hue_ambiance_1_lqi"
|
||||
state_topic: "z2m_deconz/hue_ambiance_1"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
value_template: "{{ value_json.linkquality }}"
|
||||
unit_of_measurement: "lqi"
|
||||
device_class: "signal_strength"
|
||||
- name: "hue_ambiance_1_update_state"
|
||||
state_topic: "z2m_deconz/hue_ambiance_1"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
icon: "mdi:update"
|
||||
value_template: "{{ value_json['update']['state'] }}"
|
||||
|
||||
- name: "hue_ambiance_2_lqi"
|
||||
state_topic: "z2m_deconz/hue_ambiance_2"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
value_template: "{{ value_json.linkquality }}"
|
||||
unit_of_measurement: "lqi"
|
||||
device_class: "signal_strength"
|
||||
- name: "hue_ambiance_2_update_state"
|
||||
state_topic: "z2m_deconz/hue_ambiance_2"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
icon: "mdi:update"
|
||||
value_template: "{{ value_json['update']['state'] }}"
|
||||
|
||||
- name: "hue_ambiance_3_lqi"
|
||||
state_topic: "z2m_deconz/hue_ambiance_3"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
value_template: "{{ value_json.linkquality }}"
|
||||
unit_of_measurement: "lqi"
|
||||
device_class: "signal_strength"
|
||||
- name: "hue_ambiance_3_update_state"
|
||||
state_topic: "z2m_deconz/hue_ambiance_3"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
icon: "mdi:update"
|
||||
value_template: "{{ value_json['update']['state'] }}"
|
||||
|
||||
- name: "hue_ambiance_4_lqi"
|
||||
state_topic: "z2m_deconz/hue_ambiance_4"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
value_template: "{{ value_json.linkquality }}"
|
||||
unit_of_measurement: "lqi"
|
||||
device_class: "signal_strength"
|
||||
- name: "hue_ambiance_4_update_state"
|
||||
state_topic: "z2m_deconz/hue_ambiance_4"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
icon: "mdi:update"
|
||||
value_template: "{{ value_json['update']['state'] }}"
|
||||
|
||||
- name: "hue_ambiance_5_lqi"
|
||||
state_topic: "z2m_deconz/hue_ambiance_5"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
value_template: "{{ value_json.linkquality }}"
|
||||
unit_of_measurement: "lqi"
|
||||
device_class: "signal_strength"
|
||||
- name: "hue_ambiance_5_update_state"
|
||||
state_topic: "z2m_deconz/hue_ambiance_5"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
icon: "mdi:update"
|
||||
value_template: "{{ value_json['update']['state'] }}"
|
||||
|
||||
- name: "hue_ambiance_6_lqi"
|
||||
state_topic: "z2m_deconz/hue_ambiance_6"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
value_template: "{{ value_json.linkquality }}"
|
||||
unit_of_measurement: "lqi"
|
||||
device_class: "signal_strength"
|
||||
- name: "hue_ambiance_6_update_state"
|
||||
state_topic: "z2m_deconz/hue_ambiance_6"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
icon: "mdi:update"
|
||||
value_template: "{{ value_json['update']['state'] }}"
|
||||
|
||||
- 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"
|
||||
device_class: "signal_strength"
|
||||
- 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'] }}"
|
||||
|
||||
- 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"
|
||||
device_class: "signal_strength"
|
||||
- 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'] }}"
|
||||
|
||||
- name: "hue_1_lqi"
|
||||
state_topic: "z2m_deconz/hue_1"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
value_template: "{{ value_json.linkquality }}"
|
||||
unit_of_measurement: "lqi"
|
||||
device_class: "signal_strength"
|
||||
- name: "hue_1_update_state"
|
||||
state_topic: "z2m_deconz/hue_1"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
icon: "mdi:update"
|
||||
value_template: "{{ value_json['update']['state'] }}"
|
||||
|
||||
- name: "hue_2_lqi"
|
||||
state_topic: "z2m_deconz/hue_2"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
value_template: "{{ value_json.linkquality }}"
|
||||
unit_of_measurement: "lqi"
|
||||
device_class: "signal_strength"
|
||||
- name: "hue_2_update_state"
|
||||
state_topic: "z2m_deconz/hue_2"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
icon: "mdi:update"
|
||||
value_template: "{{ value_json['update']['state'] }}"
|
||||
|
||||
- name: "hue_3_lqi"
|
||||
state_topic: "z2m_deconz/hue_3"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
value_template: "{{ value_json.linkquality }}"
|
||||
unit_of_measurement: "lqi"
|
||||
device_class: "signal_strength"
|
||||
- name: "hue_3_update_state"
|
||||
state_topic: "z2m_deconz/hue_3"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
icon: "mdi:update"
|
||||
value_template: "{{ value_json['update']['state'] }}"
|
||||
|
||||
- name: "hue_4_lqi"
|
||||
state_topic: "z2m_deconz/hue_4"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
value_template: "{{ value_json.linkquality }}"
|
||||
unit_of_measurement: "lqi"
|
||||
device_class: "signal_strength"
|
||||
- name: "hue_4_update_state"
|
||||
state_topic: "z2m_deconz/hue_4"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
icon: "mdi:update"
|
||||
value_template: "{{ value_json['update']['state'] }}"
|
||||
|
||||
- name: "hue_5_lqi"
|
||||
state_topic: "z2m_deconz/hue_5"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
value_template: "{{ value_json.linkquality }}"
|
||||
unit_of_measurement: "lqi"
|
||||
device_class: "signal_strength"
|
||||
- name: "hue_5_update_state"
|
||||
state_topic: "z2m_deconz/hue_5"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
icon: "mdi:update"
|
||||
value_template: "{{ value_json['update']['state'] }}"
|
||||
|
||||
|
||||
binary_sensor:
|
||||
- name: "pc_update_available"
|
||||
state_topic: "z2m_deconz/hue_white_1"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
payload_on: true
|
||||
payload_off: false
|
||||
value_template: "{{ value_json.update_available}}"
|
||||
- name: "hue_white_2_update_available"
|
||||
state_topic: "z2m_deconz/hue_white_2"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
payload_on: true
|
||||
payload_off: false
|
||||
value_template: "{{ value_json.update_available}}"
|
||||
- name: "hue_white_5_update_available"
|
||||
state_topic: "z2m_deconz/hue_white_5"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
payload_on: true
|
||||
payload_off: false
|
||||
value_template: "{{ value_json.update_available}}"
|
||||
- name: "hue_white_6_update_available"
|
||||
state_topic: "z2m_deconz/hue_white_6"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
payload_on: true
|
||||
payload_off: false
|
||||
value_template: "{{ value_json.update_available}}"
|
||||
|
||||
|
||||
- name: "hue_ambiance_1_update_available"
|
||||
state_topic: "z2m_deconz/hue_ambiance_1"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
payload_on: true
|
||||
payload_off: false
|
||||
value_template: "{{ value_json.update_available}}"
|
||||
- name: "hue_ambiance_2_update_available"
|
||||
state_topic: "z2m_deconz/hue_ambiance_2"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
payload_on: true
|
||||
payload_off: false
|
||||
value_template: "{{ value_json.update_available}}"
|
||||
- name: "hue_ambiance_3_update_available"
|
||||
state_topic: "z2m_deconz/hue_ambiance_3"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
payload_on: true
|
||||
payload_off: false
|
||||
value_template: "{{ value_json.update_available}}"
|
||||
- name: "hue_ambiance_4_update_available"
|
||||
state_topic: "z2m_deconz/hue_ambiance_4"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
payload_on: true
|
||||
payload_off: false
|
||||
value_template: "{{ value_json.update_available}}"
|
||||
- name: "hue_ambiance_5_update_available"
|
||||
state_topic: "z2m_deconz/hue_ambiance_5"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
payload_on: true
|
||||
payload_off: false
|
||||
value_template: "{{ value_json.update_available}}"
|
||||
- name: "hue_ambiance_6_update_available"
|
||||
state_topic: "z2m_deconz/hue_ambiance_6"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
payload_on: true
|
||||
payload_off: false
|
||||
value_template: "{{ value_json.update_available}}"
|
||||
|
||||
|
||||
- name: "hue_1_update_available"
|
||||
state_topic: "z2m_deconz/hue_1"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
payload_on: true
|
||||
payload_off: false
|
||||
value_template: "{{ value_json.update_available}}"
|
||||
- name: "hue_2_update_available"
|
||||
state_topic: "z2m_deconz/hue_2"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
payload_on: true
|
||||
payload_off: false
|
||||
value_template: "{{ value_json.update_available}}"
|
||||
- name: "hue_3_update_available"
|
||||
state_topic: "z2m_deconz/hue_3"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
payload_on: true
|
||||
payload_off: false
|
||||
value_template: "{{ value_json.update_available}}"
|
||||
- name: "hue_4_update_available"
|
||||
state_topic: "z2m_deconz/hue_4"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
payload_on: true
|
||||
payload_off: false
|
||||
value_template: "{{ value_json.update_available}}"
|
||||
- name: "hue_5_update_available"
|
||||
state_topic: "z2m_deconz/hue_5"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
payload_on: true
|
||||
payload_off: false
|
||||
value_template: "{{ value_json.update_available}}"
|
||||
@@ -0,0 +1,435 @@
|
||||
mqtt:
|
||||
light:
|
||||
- name: "tradfri_1"
|
||||
state_topic: "z2m_deconz/tradfri_1"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
brightness: true
|
||||
color_temp: true
|
||||
xy: false
|
||||
schema: "json"
|
||||
command_topic: "z2m_deconz/tradfri_1/set"
|
||||
brightness_scale: 254
|
||||
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 }}"
|
||||
command_topic: "cmnd/light_le_1/POWER"
|
||||
payload_on: "ON"
|
||||
payload_off: "OFF"
|
||||
availability_topic: "tele/light_le_1/LWT"
|
||||
payload_available: "Online"
|
||||
payload_not_available: "Offline"
|
||||
on_command_type: "brightness"
|
||||
brightness_command_topic: "cmnd/light_le_1/Dimmer"
|
||||
brightness_state_topic: "tele/light_le_1/STATE"
|
||||
brightness_scale: 100
|
||||
brightness_value_template: "{{ value_json.Dimmer }}"
|
||||
color_temp_command_topic: "cmnd/light_le_1/CT"
|
||||
color_temp_state_topic: "tele/light_le_1/STATE"
|
||||
color_temp_value_template: "{{ value_json.CT }}"
|
||||
qos: 1
|
||||
retain: false
|
||||
|
||||
- name: "light_le_2"
|
||||
state_topic: "tele/light_le_2/STATE"
|
||||
state_value_template: "{{ value_json.POWER }}"
|
||||
command_topic: "cmnd/light_le_2/POWER"
|
||||
payload_on: "ON"
|
||||
payload_off: "OFF"
|
||||
availability_topic: "tele/light_le_2/LWT"
|
||||
payload_available: "Online"
|
||||
payload_not_available: "Offline"
|
||||
on_command_type: "brightness"
|
||||
brightness_command_topic: "cmnd/light_le_2/Dimmer"
|
||||
brightness_state_topic: "tele/light_le_2/STATE"
|
||||
brightness_scale: 100
|
||||
brightness_value_template: "{{ value_json.Dimmer }}"
|
||||
color_temp_command_topic: "cmnd/light_le_2/CT"
|
||||
color_temp_state_topic: "tele/light_le_2/STATE"
|
||||
color_temp_value_template: "{{ value_json.CT }}"
|
||||
qos: 1
|
||||
retain: false
|
||||
|
||||
- name: "light_le_3"
|
||||
state_topic: "tele/light_le_3/STATE"
|
||||
state_value_template: "{{ value_json.POWER }}"
|
||||
command_topic: "cmnd/light_le_3/POWER"
|
||||
payload_on: "ON"
|
||||
payload_off: "OFF"
|
||||
availability_topic: "tele/light_le_3/LWT"
|
||||
payload_available: "Online"
|
||||
payload_not_available: "Offline"
|
||||
on_command_type: "brightness"
|
||||
brightness_command_topic: "cmnd/light_le_3/Dimmer"
|
||||
brightness_state_topic: "tele/light_le_3/STATE"
|
||||
brightness_scale: 100
|
||||
brightness_value_template: "{{ value_json.Dimmer }}"
|
||||
color_temp_command_topic: "cmnd/light_le_3/CT"
|
||||
color_temp_state_topic: "tele/light_le_3/STATE"
|
||||
color_temp_value_template: "{{ value_json.CT }}"
|
||||
qos: 1
|
||||
retain: false
|
||||
|
||||
- name: "light_le_4"
|
||||
state_topic: "tele/light_le_4/STATE"
|
||||
state_value_template: "{{ value_json.POWER }}"
|
||||
command_topic: "cmnd/light_le_4/POWER"
|
||||
payload_on: "ON"
|
||||
payload_off: "OFF"
|
||||
availability_topic: "tele/light_le_4/LWT"
|
||||
payload_available: "Online"
|
||||
payload_not_available: "Offline"
|
||||
on_command_type: "brightness"
|
||||
brightness_command_topic: "cmnd/light_le_4/Dimmer"
|
||||
brightness_state_topic: "tele/light_le_4/STATE"
|
||||
brightness_scale: 100
|
||||
brightness_value_template: "{{ value_json.Dimmer }}"
|
||||
color_temp_command_topic: "cmnd/light_le_4/CT"
|
||||
color_temp_state_topic: "tele/light_le_4/STATE"
|
||||
color_temp_value_template: "{{ value_json.CT }}"
|
||||
qos: 1
|
||||
retain: false
|
||||
|
||||
- name: "light_lohas_2"
|
||||
state_topic: "tele/light_lohas_2/STATE"
|
||||
state_value_template: "{{ value_json.POWER }}"
|
||||
command_topic: "cmnd/light_lohas_2/POWER"
|
||||
payload_on: "ON"
|
||||
payload_off: "OFF"
|
||||
availability_topic: "tele/light_lohas_2/LWT"
|
||||
payload_available: "Online"
|
||||
payload_not_available: "Offline"
|
||||
on_command_type: "brightness"
|
||||
brightness_command_topic: "cmnd/light_lohas_2/Dimmer"
|
||||
brightness_state_topic: "tele/light_lohas_2/STATE"
|
||||
brightness_scale: 100
|
||||
brightness_value_template: "{{ value_json.Dimmer }}"
|
||||
hs_command_topic: "cmnd/light_lohas_2/HSBColor"
|
||||
hs_state_topic: "tele/light_lohas_2/STATE"
|
||||
hs_value_template: "{{ value_json.HSBColor.split(',')[0:2]|join(',') }}"
|
||||
color_temp_command_topic: "cmnd/light_lohas_2/CT"
|
||||
color_temp_state_topic: "tele/light_lohas_2/STATE"
|
||||
color_temp_value_template: "{{ value_json.CT }}"
|
||||
# rgb_command_topic: "cmnd/light_lohas_2/Color"
|
||||
# rgb_state_topic: "tele/light_lohas_2/STATE"
|
||||
# rgb_command_template: "{{ '%02X%02X%02X' | format(red, green, blue) }}"
|
||||
# rgb_value_template: "{{ (value_json.Color[0:2]|int(base=16),value_json.Color[2:4]|int(base=16),value_json.Color[4:6]|int(base=16)) | join(',')}}"
|
||||
qos: 1
|
||||
retain: false
|
||||
effect_command_topic: "cmnd/light_lohas_2/Scheme"
|
||||
effect_state_topic: "tele/light_lohas_2/STATE"
|
||||
effect_value_template: "{{value_json.Scheme}}"
|
||||
effect_list: [0, 1, 2, 3, 4]
|
||||
|
||||
- name: "light_lohas_6"
|
||||
state_topic: "tele/light_lohas_6/STATE"
|
||||
state_value_template: "{{ value_json.POWER }}"
|
||||
command_topic: "cmnd/light_lohas_6/POWER"
|
||||
payload_on: "ON"
|
||||
payload_off: "OFF"
|
||||
availability_topic: "tele/light_lohas_6/LWT"
|
||||
payload_available: "Online"
|
||||
payload_not_available: "Offline"
|
||||
on_command_type: "brightness"
|
||||
brightness_command_topic: "cmnd/light_lohas_6/Dimmer"
|
||||
brightness_state_topic: "tele/light_lohas_6/STATE"
|
||||
brightness_scale: 100
|
||||
brightness_value_template: "{{ value_json.Dimmer }}"
|
||||
hs_command_topic: "cmnd/light_lohas_6/HSBColor"
|
||||
hs_state_topic: "tele/light_lohas_6/STATE"
|
||||
hs_value_template: "{{ value_json.HSBColor.split(',')[0:2]|join(',') }}"
|
||||
color_temp_command_topic: "cmnd/light_lohas_6/CT"
|
||||
color_temp_state_topic: "tele/light_lohas_6/STATE"
|
||||
color_temp_value_template: "{{ value_json.CT }}"
|
||||
# rgb_command_topic: "cmnd/light_lohas_6/Color"
|
||||
# rgb_state_topic: "tele/light_lohas_6/STATE"
|
||||
# rgb_command_template: "{{ '%02X%02X%02X=' | format(red, green, blue)}}"
|
||||
# rgb_value_template: "{{ (value_json.Color[0:2]|int(base=16),value_json.Color[2:4]|int(base=16),value_json.Color[4:6]|int(base=16)) | join(',')}}"
|
||||
qos: 1
|
||||
retain: false
|
||||
effect_command_topic: "cmnd/light_lohas_6/Scheme"
|
||||
effect_state_topic: "tele/light_lohas_6/STATE"
|
||||
effect_value_template: "{{value_json.Scheme}}"
|
||||
effect_list: [0, 1, 2, 3, 4]
|
||||
|
||||
- name: "ledvance_1"
|
||||
state_topic: "z2m_deconz/ledvance_1"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
brightness: true
|
||||
color_temp: true
|
||||
xy: false
|
||||
hs: false
|
||||
schema: "json"
|
||||
command_topic: "z2m_deconz/ledvance_1/set"
|
||||
brightness_scale: 254
|
||||
max_mireds: 500
|
||||
min_mireds: 150
|
||||
|
||||
sensor:
|
||||
- name: "tradfri_1_lqi"
|
||||
state_topic: "z2m_deconz/tradfri_1"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
value_template: "{{ value_json.linkquality }}"
|
||||
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
|
||||
payload_available: "Online"
|
||||
payload_not_available: "Offline"
|
||||
state_topic: "tele/light_le_1/STATE"
|
||||
unit_of_measurement: "%"
|
||||
value_template: "{{ value_json.Wifi.RSSI }}"
|
||||
|
||||
- name: "light_le_2_wifi"
|
||||
availability_topic: "tele/light_le_2/LWT"
|
||||
device_class: signal_strength
|
||||
payload_available: "Online"
|
||||
payload_not_available: "Offline"
|
||||
state_topic: "tele/light_le_2/STATE"
|
||||
unit_of_measurement: "%"
|
||||
value_template: "{{ value_json.Wifi.RSSI }}"
|
||||
|
||||
- name: "light_le_3_wifi"
|
||||
availability_topic: "tele/light_le_3/LWT"
|
||||
device_class: signal_strength
|
||||
payload_available: "Online"
|
||||
payload_not_available: "Offline"
|
||||
state_topic: "tele/light_le_3/STATE"
|
||||
unit_of_measurement: "%"
|
||||
value_template: "{{ value_json.Wifi.RSSI }}"
|
||||
|
||||
- name: "light_le_4_wifi"
|
||||
availability_topic: "tele/light_le_4/LWT"
|
||||
device_class: signal_strength
|
||||
payload_available: "Online"
|
||||
payload_not_available: "Offline"
|
||||
state_topic: "tele/light_le_4/STATE"
|
||||
unit_of_measurement: "%"
|
||||
value_template: "{{ value_json.Wifi.RSSI }}"
|
||||
|
||||
- name: "light_lohas_2_wifi"
|
||||
availability_topic: "tele/light_lohas_2/LWT"
|
||||
device_class: signal_strength
|
||||
payload_available: "Online"
|
||||
payload_not_available: "Offline"
|
||||
state_topic: "tele/light_lohas_2/STATE"
|
||||
unit_of_measurement: "%"
|
||||
value_template: "{{ value_json.Wifi.RSSI }}"
|
||||
|
||||
- name: "light_lohas_6_wifi"
|
||||
availability_topic: "tele/light_lohas_6/LWT"
|
||||
device_class: signal_strength
|
||||
payload_available: "Online"
|
||||
payload_not_available: "Offline"
|
||||
state_topic: "tele/light_lohas_6/STATE"
|
||||
unit_of_measurement: "%"
|
||||
value_template: "{{ value_json.Wifi.RSSI }}"
|
||||
|
||||
- name: "ledvance_1_lqi"
|
||||
state_topic: "z2m_deconz/ledvance_1"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
value_template: "{{ value_json.linkquality }}"
|
||||
unit_of_measurement: "lqi"
|
||||
device_class: "signal_strength"
|
||||
|
||||
## Switch
|
||||
switch:
|
||||
- name: "light_le_1_fade"
|
||||
availability_topic: "tele/light_le_1/LWT"
|
||||
command_topic: "cmnd/light_le_1/FADE"
|
||||
icon: mdi:gradient
|
||||
payload_available: "Online"
|
||||
payload_not_available: "Offline"
|
||||
qos: 1
|
||||
state_topic: "tele/light_le_1/STATE"
|
||||
value_template: "{{ value_json.Fade }}"
|
||||
|
||||
- name: "light_le_2_fade"
|
||||
availability_topic: "tele/light_le_2/LWT"
|
||||
command_topic: "cmnd/light_le_2/FADE"
|
||||
icon: mdi:gradient
|
||||
payload_available: "Online"
|
||||
payload_not_available: "Offline"
|
||||
qos: 1
|
||||
state_topic: "tele/light_le_2/STATE"
|
||||
value_template: "{{ value_json.Fade }}"
|
||||
|
||||
- name: "light_le_3_fade"
|
||||
availability_topic: "tele/light_le_3/LWT"
|
||||
command_topic: "cmnd/light_le_3/FADE"
|
||||
icon: mdi:gradient
|
||||
payload_available: "Online"
|
||||
payload_not_available: "Offline"
|
||||
qos: 1
|
||||
state_topic: "tele/light_le_3/STATE"
|
||||
value_template: "{{ value_json.Fade }}"
|
||||
|
||||
- name: "light_le_4_fade"
|
||||
availability_topic: "tele/light_le_4/LWT"
|
||||
command_topic: "cmnd/light_le_4/FADE"
|
||||
icon: mdi:gradient
|
||||
payload_available: "Online"
|
||||
payload_not_available: "Offline"
|
||||
qos: 1
|
||||
state_topic: "tele/light_le_4/STATE"
|
||||
value_template: "{{ value_json.Fade }}"
|
||||
|
||||
- name: "light_lohas_2_fade"
|
||||
availability_topic: "tele/light_lohas_2/LWT"
|
||||
command_topic: "cmnd/light_lohas_2/FADE"
|
||||
icon: mdi:gradient
|
||||
payload_available: "Online"
|
||||
payload_not_available: "Offline"
|
||||
qos: 1
|
||||
state_topic: "tele/light_lohas_2/STATE"
|
||||
value_template: "{{ value_json.Fade }}"
|
||||
|
||||
- name: "light_lohas_3_fade"
|
||||
availability_topic: "tele/light_lohas_3/LWT"
|
||||
command_topic: "cmnd/light_lohas_3/FADE"
|
||||
icon: mdi:gradient
|
||||
payload_available: "Online"
|
||||
payload_not_available: "Offline"
|
||||
qos: 1
|
||||
state_topic: "tele/light_lohas_3/STATE"
|
||||
value_template: "{{ value_json.Fade }}"
|
||||
|
||||
- name: "light_lohas_6_fade"
|
||||
availability_topic: "tele/light_lohas_6/LWT"
|
||||
command_topic: "cmnd/light_lohas_6/FADE"
|
||||
icon: mdi:gradient
|
||||
payload_available: "Online"
|
||||
payload_not_available: "Offline"
|
||||
qos: 1
|
||||
state_topic: "tele/light_lohas_6/STATE"
|
||||
value_template: "{{ value_json.Fade }}"
|
||||
|
||||
automation:
|
||||
- alias: Lighting · Sync Tasmota states on start-up
|
||||
initial_state: true
|
||||
trigger:
|
||||
platform: homeassistant
|
||||
event: start
|
||||
action:
|
||||
- service: mqtt.publish
|
||||
data:
|
||||
topic: "cmnd/tasmotas/STATE"
|
||||
payload: ""
|
||||
|
||||
- alias: Lighting · Sync Zigbee states on start-up
|
||||
initial_state: true
|
||||
trigger:
|
||||
platform: homeassistant
|
||||
event: start
|
||||
action:
|
||||
- service: mqtt.publish
|
||||
data:
|
||||
topic: "z2m_deconz/hue_white_1/get"
|
||||
payload: ""
|
||||
- service: mqtt.publish
|
||||
data:
|
||||
topic: "z2m_deconz/hue_white_2/get"
|
||||
payload: ""
|
||||
- service: mqtt.publish
|
||||
data:
|
||||
topic: "z2m_deconz/hue_white_5/get"
|
||||
payload: ""
|
||||
- service: mqtt.publish
|
||||
data:
|
||||
topic: "z2m_deconz/hue_white_6/get"
|
||||
payload: ""
|
||||
- service: mqtt.publish
|
||||
data:
|
||||
topic: "z2m_deconz/hue_ambiance_1/get"
|
||||
payload: ""
|
||||
- service: mqtt.publish
|
||||
data:
|
||||
topic: "z2m_deconz/hue_ambiance_2/get"
|
||||
payload: ""
|
||||
- service: mqtt.publish
|
||||
data:
|
||||
topic: "z2m_deconz/hue_ambiance_3/get"
|
||||
payload: ""
|
||||
- service: mqtt.publish
|
||||
data:
|
||||
topic: "z2m_deconz/hue_ambiance_4/get"
|
||||
payload: ""
|
||||
- service: mqtt.publish
|
||||
data:
|
||||
topic: "z2m_deconz/hue_ambiance_5/get"
|
||||
payload: ""
|
||||
- service: mqtt.publish
|
||||
data:
|
||||
topic: "z2m_deconz/hue_ambiance_6/get"
|
||||
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
|
||||
data:
|
||||
topic: "z2m_deconz/hue_1/get"
|
||||
payload: ""
|
||||
- service: mqtt.publish
|
||||
data:
|
||||
topic: "z2m_deconz/hue_2/get"
|
||||
payload: ""
|
||||
- service: mqtt.publish
|
||||
data:
|
||||
topic: "z2m_deconz/hue_3/get"
|
||||
payload: ""
|
||||
- service: mqtt.publish
|
||||
data:
|
||||
topic: "z2m_deconz/hue_4/get"
|
||||
payload: ""
|
||||
- service: mqtt.publish
|
||||
data:
|
||||
topic: "z2m_deconz/hue_5/get"
|
||||
payload: ""
|
||||
- service: mqtt.publish
|
||||
data:
|
||||
topic: "z2m_deconz/tradfri_1/get"
|
||||
payload: ""
|
||||
# - service: mqtt.publish
|
||||
# data:
|
||||
# topic: "z2m_deconz/light_hallway_main/get"
|
||||
# payload: ""
|
||||
# - service: mqtt.publish
|
||||
# data:
|
||||
# topic: "z2m_deconz/light_hallway_entrance/get"
|
||||
# payload: ""
|
||||
# - service: mqtt.publish
|
||||
# data:
|
||||
# topic: "z2m_deconz/light_kitchen_main/get"
|
||||
# payload: ""
|
||||
# - service: mqtt.publish
|
||||
# data:
|
||||
# topic: "z2m_deconz/light_kitchen_secondary/get"
|
||||
# payload: ""
|
||||
@@ -0,0 +1,34 @@
|
||||
# mqtt:
|
||||
# light:
|
||||
# - name: "neo_1"
|
||||
# state_topic: "z2m_deconz/neo_1"
|
||||
# availability_topic: "z2m_deconz/bridge/state"
|
||||
# brightness: true
|
||||
# color_temp: true
|
||||
# xy: true
|
||||
# hs: false
|
||||
# schema: "json"
|
||||
# command_topic: "z2m_deconz/neo_1/set"
|
||||
# brightness_scale: 254
|
||||
# max_mireds: 500
|
||||
# min_mireds: 150
|
||||
# - name: "neo_2"
|
||||
# state_topic: "z2m_deconz/neo_2"
|
||||
# availability_topic: "z2m_deconz/bridge/state"
|
||||
# brightness: true
|
||||
# color_temp: true
|
||||
# xy: true
|
||||
# hs: false
|
||||
# schema: "json"
|
||||
# command_topic: "z2m_deconz/neo_2/set"
|
||||
# brightness_scale: 254
|
||||
# max_mireds: 500
|
||||
# min_mireds: 150
|
||||
|
||||
# sensor:
|
||||
# - name: "neo_1_lqi"
|
||||
# state_topic: "z2m_deconz/neo_1"
|
||||
# availability_topic: "z2m_deconz/bridge/state"
|
||||
# value_template: "{{ value_json.linkquality }}"
|
||||
# unit_of_measurement: "lqi"
|
||||
# device_class: "signal_strength"
|
||||
@@ -0,0 +1,86 @@
|
||||
automation:
|
||||
- alias: Lighting · Temperature · Adjust on start
|
||||
use_blueprint:
|
||||
path: light_on_set_temperature.yaml
|
||||
input:
|
||||
light:
|
||||
- light.living_room_main
|
||||
- light.pc
|
||||
- light.master_bedroom_main
|
||||
- light.kitchen_main
|
||||
- light.kitchen_secondary
|
||||
|
||||
- alias: Lighting · Temperature · Sunset · Living room main
|
||||
use_blueprint:
|
||||
path: light_sun_set_temperature.yaml
|
||||
input:
|
||||
light: light.living_room_main
|
||||
temp: 400
|
||||
|
||||
- alias: Lighting · Temperature · Sunset · PC
|
||||
use_blueprint:
|
||||
path: light_sun_set_temperature.yaml
|
||||
input:
|
||||
light: light.pc
|
||||
temp: 400
|
||||
|
||||
- alias: Lighting · Temperature · Sunset · Bedroom main
|
||||
use_blueprint:
|
||||
path: light_sun_set_temperature.yaml
|
||||
input:
|
||||
light: light.master_bedroom_main
|
||||
temp: 400
|
||||
|
||||
- alias: Lighting · Temperature · Sunset · Kitchen main
|
||||
use_blueprint:
|
||||
path: light_sun_set_temperature.yaml
|
||||
input:
|
||||
light: light.kitchen_main
|
||||
temp: 400
|
||||
|
||||
- alias: Lighting · Temperature · Sunset · Kitchen secondary
|
||||
use_blueprint:
|
||||
path: light_sun_set_temperature.yaml
|
||||
input:
|
||||
light: light.kitchen_secondary
|
||||
temp: 400
|
||||
|
||||
- alias: Lighting ·Temperature · Night · Living room main
|
||||
use_blueprint:
|
||||
path: light_sun_set_temperature.yaml
|
||||
input:
|
||||
light: light.living_room_main
|
||||
temp: 500
|
||||
after_offset: "+03:00:00"
|
||||
|
||||
- alias: Lighting ·Temperature · Night · PC
|
||||
use_blueprint:
|
||||
path: light_sun_set_temperature.yaml
|
||||
input:
|
||||
light: light.pc
|
||||
temp: 500
|
||||
after_offset: "+03:00:00"
|
||||
|
||||
- alias: Lighting ·Temperature · Night · Bedroom main
|
||||
use_blueprint:
|
||||
path: light_sun_set_temperature.yaml
|
||||
input:
|
||||
light: light.master_bedroom_main
|
||||
temp: 500
|
||||
after_offset: "+03:00:00"
|
||||
|
||||
- alias: Lighting ·Temperature · Night · Kitchen main
|
||||
use_blueprint:
|
||||
path: light_sun_set_temperature.yaml
|
||||
input:
|
||||
light: light.kitchen_main
|
||||
temp: 500
|
||||
after_offset: "+03:00:00"
|
||||
|
||||
- alias: Lighting ·Temperature · Night · Kitchen secondary
|
||||
use_blueprint:
|
||||
path: light_sun_set_temperature.yaml
|
||||
input:
|
||||
light: light.kitchen_secondary
|
||||
temp: 500
|
||||
after_offset: "+03:00:00"
|
||||
Reference in New Issue
Block a user