mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-09-06 18:08:45 +00:00
minor tweaks
This commit is contained in:
@@ -13,7 +13,33 @@ views:
|
|||||||
cards:
|
cards:
|
||||||
- type: 'custom:config-template-card'
|
- type: 'custom:config-template-card'
|
||||||
entities:
|
entities:
|
||||||
|
- light.living_room_main_lights
|
||||||
|
- light.pc
|
||||||
|
- light.master_bedroom_main_lights
|
||||||
- light.bed_led
|
- light.bed_led
|
||||||
|
- light.bedside_light
|
||||||
|
- light.tuya_kitchen_main_lights
|
||||||
|
- light.tuya_kitchen_secondary_lights
|
||||||
|
- light.tuya_hallway_entrance_lights
|
||||||
|
- light.tuya_hallway_main_lights
|
||||||
|
|
||||||
|
- media_player.living_room
|
||||||
|
- media_player.master_bedroom
|
||||||
|
- media_player.kitchen
|
||||||
|
- media_player.bathroom
|
||||||
|
- media_player.nvidia_shield
|
||||||
|
|
||||||
|
- switch.camera
|
||||||
|
- binary_sensor.titanium
|
||||||
|
- sensor.synology_dsm_type_volume_1
|
||||||
|
- binary_sensor.living_room_right_window_on_off_wrapper
|
||||||
|
|
||||||
|
- fan.philips_airpurifier
|
||||||
|
- sensor.bedroom_weather_temperature
|
||||||
|
- binary_sensor.bedroom_right_window_on_off_wrapper
|
||||||
|
|
||||||
|
- binary_sensor.motion_1_ias_zone
|
||||||
|
- binary_sensor.motion_2_ias_zone
|
||||||
card:
|
card:
|
||||||
type: picture-elements
|
type: picture-elements
|
||||||
image: /local/images/floorplan/floorplan_night_transparent.png
|
image: /local/images/floorplan/floorplan_night_transparent.png
|
||||||
|
|||||||
@@ -184,4 +184,5 @@
|
|||||||
background-color: '${ states[''light.bed_led''].attributes.rgb_color ? "rgb(" + states[''light.bed_led''].attributes.rgb_color[0] + "," + states[''light.bed_led''].attributes.rgb_color[1] + "," + states[''light.bed_led''].attributes.rgb_color[2] + ")" : "rgba(0, 0, 0, 0)" }'
|
background-color: '${ states[''light.bed_led''].attributes.rgb_color ? "rgb(" + states[''light.bed_led''].attributes.rgb_color[0] + "," + states[''light.bed_led''].attributes.rgb_color[1] + "," + states[''light.bed_led''].attributes.rgb_color[2] + ")" : "rgba(0, 0, 0, 0)" }'
|
||||||
|
|
||||||
color: transparent
|
color: transparent
|
||||||
box-shadow: '${ states[''light.bed_led''].attributes.rgb_color ? "0 0 10px 5px rgba(" + states[''light.bed_led''].attributes.rgb_color[0] + "," + states[''light.bed_led''].attributes.rgb_color[1] + "," + states[''light.bed_led''].attributes.rgb_color[2] + ",0.7)" : "none" }'
|
box-shadow: '${ states[''light.bed_led''].attributes.rgb_color ? "0 0 7px 4px rgb(" + states[''light.bed_led''].attributes.rgb_color[0] + "," + states[''light.bed_led''].attributes.rgb_color[1] + "," + states[''light.bed_led''].attributes.rgb_color[2] + ")" : "none" }'
|
||||||
|
opacity: 0.6
|
||||||
|
|||||||
@@ -2,4 +2,4 @@ homeassistant:
|
|||||||
customize:
|
customize:
|
||||||
light.bed_led:
|
light.bed_led:
|
||||||
friendly_name: Bed LED
|
friendly_name: Bed LED
|
||||||
icon: mdi:led-strip
|
icon: bha:led-strip
|
||||||
|
|||||||
Reference in New Issue
Block a user