mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-05-15 12:34:42 +00:00
Add osram lights to config. Add color mode
This commit is contained in:
@@ -71,20 +71,7 @@ cards:
|
||||
- light: light.light_le_4
|
||||
- fade: switch.light_le_4_fade
|
||||
- wifi: sensor.light_le_4_wifi
|
||||
- type: custom:fold-entity-row
|
||||
head:
|
||||
type: custom:decluttering-card
|
||||
template: light_with_fade_and_switch
|
||||
variables:
|
||||
- light: light.light_avatar_small_2
|
||||
- fade: switch.light_avatar_small_2_fade
|
||||
- wifi: sensor.light_avatar_small_2_wifi
|
||||
entities:
|
||||
- type: custom:slider-entity-row
|
||||
entity: light.light_avatar_small_2
|
||||
name: Brightness
|
||||
hide_state: true
|
||||
step: 5
|
||||
- light.light_le_8
|
||||
- light.living_room_ambient
|
||||
- light.living_room_ambient_main
|
||||
- type: custom:fold-entity-row
|
||||
@@ -162,18 +149,18 @@ cards:
|
||||
icon: mdi:chef-hat
|
||||
show_header_toggle: false
|
||||
entities:
|
||||
- light.tuya_kitchen
|
||||
- light.kitchen
|
||||
- type: divider
|
||||
- light.tuya_kitchen_main
|
||||
- light.kitchen_main
|
||||
- type: custom:fold-entity-row
|
||||
entity: light.kitchen_main
|
||||
name: Main lights
|
||||
entities:
|
||||
- light.light_le_11
|
||||
- light.light_le_12
|
||||
- light.osram_2
|
||||
- light.osram_3
|
||||
- light.light_orbecco_1
|
||||
- type: divider
|
||||
- light.tuya_kitchen_secondary
|
||||
- light.kitchen_secondary
|
||||
- type: custom:fold-entity-row
|
||||
entity: light.kitchen_secondary
|
||||
name: Secondary lights
|
||||
@@ -207,12 +194,7 @@ cards:
|
||||
min: 153
|
||||
max: 500
|
||||
step: 5
|
||||
- type: custom:decluttering-card
|
||||
template: light_with_fade_and_switch
|
||||
variables:
|
||||
- light: light.light_hama_1
|
||||
- fade: switch.light_hama_1_fade
|
||||
- wifi: sensor.light_hama_1_wifi
|
||||
- light.osram_5
|
||||
- type: custom:decluttering-card
|
||||
template: light_with_fade_and_switch
|
||||
variables:
|
||||
@@ -220,10 +202,10 @@ cards:
|
||||
- fade: switch.light_lohas_6_fade
|
||||
- wifi: sensor.light_lohas_6_wifi
|
||||
- type: divider
|
||||
- light.tuya_hallway_main
|
||||
- light.hallway_main
|
||||
- type: custom:fold-entity-row
|
||||
entity: light.hallway_main
|
||||
name: Main lights
|
||||
entities:
|
||||
- light.light_le_7
|
||||
- light.light_le_8
|
||||
- light.osram_1
|
||||
- light.osram_4
|
||||
|
||||
@@ -187,6 +187,8 @@ cards:
|
||||
- automation.system_telegram_announce_status
|
||||
- automation.speech_telegram_action_do_nothing
|
||||
- automation.ifttt_call_service
|
||||
- automation.lighting_tuya_update_states_on_start
|
||||
- automation.lighting_sync_osram_states_on_start_up
|
||||
|
||||
- type: entities
|
||||
title: Wallmote
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
conditions:
|
||||
- entity: binary_sensor.floorplan_night_mode
|
||||
state: "on"
|
||||
- entity: light.light_avatar_small_2
|
||||
- entity: light.light_le_8
|
||||
state: "on"
|
||||
- entity: light.living_room_main
|
||||
state: "off"
|
||||
@@ -42,7 +42,7 @@
|
||||
conditions:
|
||||
- entity: binary_sensor.floorplan_night_mode
|
||||
state: "on"
|
||||
- entity: light.light_avatar_small_2
|
||||
- entity: light.light_le_8
|
||||
state: "off"
|
||||
- entity: light.living_room_main
|
||||
state: "on"
|
||||
@@ -60,7 +60,7 @@
|
||||
conditions:
|
||||
- entity: binary_sensor.floorplan_night_mode
|
||||
state: "on"
|
||||
- entity: light.light_avatar_small_2
|
||||
- entity: light.light_le_8
|
||||
state: "on"
|
||||
- entity: light.living_room_main
|
||||
state: "on"
|
||||
@@ -136,9 +136,9 @@
|
||||
conditions:
|
||||
- entity: binary_sensor.floorplan_night_mode
|
||||
state: "on"
|
||||
- entity: light.tuya_kitchen_main
|
||||
- entity: light.kitchen_main
|
||||
state: "on"
|
||||
- entity: light.tuya_kitchen_secondary
|
||||
- entity: light.kitchen_secondary
|
||||
state: "off"
|
||||
elements:
|
||||
- type: image
|
||||
@@ -155,9 +155,9 @@
|
||||
conditions:
|
||||
- entity: binary_sensor.floorplan_night_mode
|
||||
state: "on"
|
||||
- entity: light.tuya_kitchen_main
|
||||
- entity: light.kitchen_main
|
||||
state: "off"
|
||||
- entity: light.tuya_kitchen_secondary
|
||||
- entity: light.kitchen_secondary
|
||||
state: "on"
|
||||
elements:
|
||||
- type: image
|
||||
@@ -174,9 +174,9 @@
|
||||
conditions:
|
||||
- entity: binary_sensor.floorplan_night_mode
|
||||
state: "on"
|
||||
- entity: light.tuya_kitchen_main
|
||||
- entity: light.kitchen_main
|
||||
state: "on"
|
||||
- entity: light.tuya_kitchen_secondary
|
||||
- entity: light.kitchen_secondary
|
||||
state: "on"
|
||||
elements:
|
||||
- type: image
|
||||
@@ -196,7 +196,7 @@
|
||||
state: "on"
|
||||
- entity: light.hallway_entrance
|
||||
state: "on"
|
||||
- entity: light.tuya_hallway_main
|
||||
- entity: light.hallway_main
|
||||
state: "off"
|
||||
elements:
|
||||
- type: image
|
||||
@@ -214,7 +214,7 @@
|
||||
state: "on"
|
||||
- entity: light.hallway_entrance
|
||||
state: "off"
|
||||
- entity: light.tuya_hallway_main
|
||||
- entity: light.hallway_main
|
||||
state: "on"
|
||||
elements:
|
||||
- type: image
|
||||
@@ -232,7 +232,7 @@
|
||||
state: "on"
|
||||
- entity: light.hallway_entrance
|
||||
state: "on"
|
||||
- entity: light.tuya_hallway_main
|
||||
- entity: light.hallway_main
|
||||
state: "on"
|
||||
elements:
|
||||
- type: image
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
- type: custom:decluttering-card
|
||||
template: floorplan_state_icon
|
||||
variables:
|
||||
- entity: light.light_avatar_small_2
|
||||
- entity: light.light_le_8
|
||||
- top: 69.8%
|
||||
- left: 77.8%
|
||||
|
||||
@@ -36,14 +36,14 @@
|
||||
- type: custom:decluttering-card
|
||||
template: floorplan_state_icon
|
||||
variables:
|
||||
- entity: light.tuya_kitchen_secondary
|
||||
- entity: light.kitchen_secondary
|
||||
- top: 29%
|
||||
- left: 12.9%
|
||||
|
||||
- type: custom:decluttering-card
|
||||
template: floorplan_state_icon
|
||||
variables:
|
||||
- entity: light.tuya_kitchen_main
|
||||
- entity: light.kitchen_main
|
||||
- top: 29%
|
||||
- left: 20.3%
|
||||
|
||||
@@ -57,6 +57,6 @@
|
||||
- type: custom:decluttering-card
|
||||
template: floorplan_state_icon
|
||||
variables:
|
||||
- entity: light.tuya_hallway_main
|
||||
- entity: light.hallway_main
|
||||
- top: 41%
|
||||
- left: 34.8%
|
||||
|
||||
@@ -3,6 +3,28 @@ layout: horizontal
|
||||
max_columns: 2
|
||||
cards:
|
||||
# Column 1
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:button-card
|
||||
entity: input_select.light_color_mode
|
||||
name: PRESS ME
|
||||
tap_action:
|
||||
action: call-service
|
||||
service: input_select.select_option
|
||||
service_data:
|
||||
entity_id: input_select.light_color_mode
|
||||
option: "blue"
|
||||
- type: custom:button-card
|
||||
name: back to normal pls
|
||||
entity: input_select.light_color_mode
|
||||
tap_action:
|
||||
action: call-service
|
||||
service: input_select.select_option
|
||||
service_data:
|
||||
entity_id: input_select.light_color_mode
|
||||
option: "normal"
|
||||
|
||||
|
||||
- type: vertical-stack
|
||||
cards:
|
||||
- type: custom:button-card
|
||||
@@ -31,7 +53,7 @@ cards:
|
||||
name: Main
|
||||
- type: custom:button-card
|
||||
template: [small, with_state_background]
|
||||
entity: light.light_avatar_small_2
|
||||
entity: light.light_le_8
|
||||
- type: custom:button-card
|
||||
template: [small, with_state_background]
|
||||
entity: light.living_room_ambient
|
||||
@@ -61,11 +83,11 @@ cards:
|
||||
cards:
|
||||
- type: custom:button-card
|
||||
template: [small, with_state_background]
|
||||
entity: light.tuya_kitchen
|
||||
entity: light.kitchen
|
||||
name: Kitchen
|
||||
- type: custom:button-card
|
||||
template: [small, with_state_background]
|
||||
entity: light.tuya_hallway_main
|
||||
entity: light.hallway_main
|
||||
name: Hallway
|
||||
- type: custom:button-card
|
||||
template: [small, with_state_background]
|
||||
|
||||
@@ -31,7 +31,7 @@ cards:
|
||||
name: Main
|
||||
- type: custom:button-card
|
||||
template: [small, with_state_background]
|
||||
entity: light.light_avatar_small_2
|
||||
entity: light.light_le_8
|
||||
- type: custom:button-card
|
||||
template: [small, with_state_background]
|
||||
entity: light.living_room_ambient
|
||||
@@ -61,11 +61,11 @@ cards:
|
||||
cards:
|
||||
- type: custom:button-card
|
||||
template: [small, with_state_background]
|
||||
entity: light.tuya_kitchen
|
||||
entity: light.kitchen
|
||||
name: Kitchen
|
||||
- type: custom:button-card
|
||||
template: [small, with_state_background]
|
||||
entity: light.tuya_hallway_main
|
||||
entity: light.hallway_main
|
||||
name: Hallway
|
||||
- type: custom:button-card
|
||||
template: [small, with_state_background]
|
||||
|
||||
@@ -21,15 +21,15 @@
|
||||
cards:
|
||||
- type: custom:button-card
|
||||
template: default
|
||||
entity: light.tuya_kitchen
|
||||
entity: light.kitchen
|
||||
name: Kitchen
|
||||
- type: custom:button-card
|
||||
template: default
|
||||
entity: light.tuya_kitchen_main
|
||||
entity: light.kitchen_main
|
||||
name: Main
|
||||
- type: custom:button-card
|
||||
template: default
|
||||
entity: light.tuya_kitchen_secondary
|
||||
entity: light.kitchen_secondary
|
||||
name: Secondary
|
||||
- type: vertical-stack
|
||||
cards:
|
||||
@@ -39,7 +39,7 @@
|
||||
name: Entrance
|
||||
- type: custom:button-card
|
||||
template: half
|
||||
entity: light.tuya_hallway_main
|
||||
entity: light.hallway_main
|
||||
name: Hallway
|
||||
styles:
|
||||
card:
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
name: Main
|
||||
- type: custom:button-card
|
||||
template: default
|
||||
entity: light.light_avatar_small_2
|
||||
entity: light.light_le_8
|
||||
name: PC
|
||||
- type: custom:button-card
|
||||
template: default
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
name: Main
|
||||
- type: custom:button-card
|
||||
template: default
|
||||
entity: light.light_avatar_small_2
|
||||
entity: light.light_le_8
|
||||
- type: custom:button-card
|
||||
template: default
|
||||
entity: light.living_room_ambient
|
||||
@@ -74,11 +74,11 @@
|
||||
cards:
|
||||
- type: custom:button-card
|
||||
template: default
|
||||
entity: light.tuya_kitchen
|
||||
entity: light.kitchen
|
||||
name: Kitchen
|
||||
- type: custom:button-card
|
||||
template: default
|
||||
entity: light.tuya_hallway_main
|
||||
entity: light.hallway_main
|
||||
name: Hallway
|
||||
- type: custom:button-card
|
||||
template: default
|
||||
|
||||
Reference in New Issue
Block a user