minor tweaks

This commit is contained in:
2020-04-23 21:35:07 +03:00
parent dac8d3d00d
commit 6d2b63ac8b
3 changed files with 29 additions and 2 deletions
+26
View File
@@ -13,7 +13,33 @@ views:
cards:
- type: 'custom:config-template-card'
entities:
- light.living_room_main_lights
- light.pc
- light.master_bedroom_main_lights
- 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:
type: picture-elements
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)" }'
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
+1 -1
View File
@@ -2,4 +2,4 @@ homeassistant:
customize:
light.bed_led:
friendly_name: Bed LED
icon: mdi:led-strip
icon: bha:led-strip