mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-09-06 18:08:45 +00:00
Don't use light color in floorplan. Too buggy
This commit is contained in:
@@ -11,45 +11,8 @@ views:
|
|||||||
panel: true
|
panel: true
|
||||||
icon: mdi:floor-plan
|
icon: mdi:floor-plan
|
||||||
cards:
|
cards:
|
||||||
- type: 'custom:config-template-card'
|
- type: picture-elements
|
||||||
entities:
|
image: /local/images/floorplan/floorplan_night_transparent.png
|
||||||
- light.living_room_main_lights
|
style: |
|
||||||
- light.pc
|
height: 100%
|
||||||
- light.master_bedroom_main_lights
|
elements: !include_dir_merge_list lovelace/floorplan-dashboard/picture_elements
|
||||||
- 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
|
|
||||||
- switch.titanium_power
|
|
||||||
- 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.browser_kitchen
|
|
||||||
- binary_sensor.motion_1_ias_zone
|
|
||||||
- binary_sensor.motion_2_ias_zone
|
|
||||||
|
|
||||||
- input_boolean.floorplan_night_mode
|
|
||||||
- input_boolean.floorplan_show_all
|
|
||||||
- input_boolean.guest_mode
|
|
||||||
- input_boolean.speech_notifications
|
|
||||||
- input_boolean.georgi_home
|
|
||||||
card:
|
|
||||||
type: picture-elements
|
|
||||||
image: /local/images/floorplan/floorplan_night_transparent.png
|
|
||||||
style: |
|
|
||||||
height: 100%
|
|
||||||
elements: !include_dir_merge_list lovelace/floorplan-dashboard/picture_elements
|
|
||||||
|
|||||||
@@ -189,8 +189,6 @@
|
|||||||
height: 0
|
height: 0
|
||||||
top: 7.6%
|
top: 7.6%
|
||||||
left: 67.6%
|
left: 67.6%
|
||||||
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 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" }'
|
box-shadow: '0 0 7px 4px rgb(255, 127, 0)'
|
||||||
opacity: 0.6
|
opacity: 0.6
|
||||||
|
|||||||
Reference in New Issue
Block a user