Rename floorplan_dashboard folder

This commit is contained in:
2020-04-25 12:31:21 +03:00
parent e6ca9150e1
commit 04bfc2f825
5 changed files with 1 additions and 1 deletions
@@ -0,0 +1,246 @@
- type: conditional
conditions:
- entity: sun.sun
state: "above_horizon"
- entity: input_boolean.floorplan_night_mode
state: "off"
elements:
- type: image
entity: sun.sun
action: none
hold_action:
action: none
image: /local/images/floorplan/floorplan_day.jpg
style:
height: 100%
left: 50%
top: 50%
width: 100%
tap_action:
action: none
# Living Room
- type: conditional
conditions:
- entity: binary_sensor.floorplan_night_mode
state: "on"
- entity: light.pc
state: "on"
- entity: light.living_room_main_lights
state: "off"
elements:
- type: image
image: /local/images/floorplan/living_room_pc_light_on.png
tap_action: none
hold_action: none
style:
top: 71.04%
left: 65.92%
width: 38.5%
cursor: default
- type: conditional
conditions:
- entity: binary_sensor.floorplan_night_mode
state: "on"
- entity: light.pc
state: "off"
- entity: light.living_room_main_lights
state: "on"
elements:
- type: image
image: /local/images/floorplan/living_room_main_lights_on.png
tap_action: none
hold_action: none
style:
top: 71.04%
left: 65.92%
width: 38.5%
cursor: default
- type: conditional
conditions:
- entity: binary_sensor.floorplan_night_mode
state: "on"
- entity: light.pc
state: "on"
- entity: light.living_room_main_lights
state: "on"
elements:
- type: image
image: /local/images/floorplan/living_room_all_lights_on.png
tap_action: none
hold_action: none
style:
top: 71.04%
left: 65.92%
width: 38.5%
cursor: default
# Master Bedroom
- type: conditional
conditions:
- entity: binary_sensor.floorplan_night_mode
state: "on"
- entity: light.bedside_light
state: "off"
- entity: light.master_bedroom_main_lights
state: "on"
elements:
- type: image
image: /local/images/floorplan/master_bedroom_main_lights_on.png
tap_action: none
hold_action: none
style:
top: 25.7%
left: 70.35%
width: 29%
cursor: default
- type: conditional
conditions:
- entity: binary_sensor.floorplan_night_mode
state: "on"
- entity: light.bedside_light
state: "on"
- entity: light.master_bedroom_main_lights
state: "off"
elements:
- type: image
image: /local/images/floorplan/master_bedroom_bedside_light_on.png
tap_action: none
hold_action: none
style:
top: 25.7%
left: 70.35%
width: 29%
cursor: default
- type: conditional
conditions:
- entity: binary_sensor.floorplan_night_mode
state: "on"
- entity: light.master_bedroom_main_lights
state: "on"
- entity: light.bedside_light
state: "on"
elements:
- type: image
image: /local/images/floorplan/master_bedroom_all_lights_on.png
tap_action: none
hold_action: none
style:
top: 25.7%
left: 70.35%
width: 29%
cursor: default
# Kitchen
- type: conditional
conditions:
- entity: binary_sensor.floorplan_night_mode
state: "on"
- entity: light.tuya_kitchen_main_lights
state: "on"
- entity: light.tuya_kitchen_secondary_lights
state: "off"
elements:
- type: image
image: /local/images/floorplan/kitchen_main_lights_on.png
tap_action: none
hold_action: none
style:
top: 29%
left: 18.4%
width: 23.6%
cursor: default
- type: conditional
conditions:
- entity: binary_sensor.floorplan_night_mode
state: "on"
- entity: light.tuya_kitchen_main_lights
state: "off"
- entity: light.tuya_kitchen_secondary_lights
state: "on"
elements:
- type: image
image: /local/images/floorplan/kitchen_secondary_lights_on.png
tap_action: none
hold_action: none
style:
top: 29%
left: 18.4%
width: 23.6%
cursor: default
- type: conditional
conditions:
- entity: binary_sensor.floorplan_night_mode
state: "on"
- entity: light.tuya_kitchen_main_lights
state: "on"
- entity: light.tuya_kitchen_secondary_lights
state: "on"
elements:
- type: image
image: /local/images/floorplan/kitchen_all_lights_on.png
tap_action: none
hold_action: none
style:
top: 29%
left: 18.4%
width: 23.6%
cursor: default
# Hallway
- type: conditional
conditions:
- entity: binary_sensor.floorplan_night_mode
state: "on"
- entity: light.hallway_entrance_lights
state: "on"
- entity: light.tuya_hallway_main_lights
state: "off"
elements:
- type: image
image: /local/images/floorplan/hallway_entrance_lights_on.png
tap_action: none
hold_action: none
style:
top: 25.8%
left: 42.7%
width: 25.4%
cursor: default
- type: conditional
conditions:
- entity: binary_sensor.floorplan_night_mode
state: "on"
- entity: light.hallway_entrance_lights
state: "off"
- entity: light.tuya_hallway_main_lights
state: "on"
elements:
- type: image
image: /local/images/floorplan/hallway_main_lights_on.png
tap_action: none
hold_action: none
style:
top: 25.8%
left: 42.7%
width: 25.4%
cursor: default
- type: conditional
conditions:
- entity: binary_sensor.floorplan_night_mode
state: "on"
- entity: light.hallway_entrance_lights
state: "on"
- entity: light.tuya_hallway_main_lights
state: "on"
elements:
- type: image
image: /local/images/floorplan/hallway_all_lights_on.png
tap_action: none
hold_action: none
style:
top: 25.8%
left: 42.7%
width: 25.4%
cursor: default
@@ -0,0 +1,62 @@
- type: custom:decluttering-card
template: floorplan_state_icon
variables:
- entity: light.pc
- top: 69.8%
- left: 77.8%
- type: custom:decluttering-card
template: floorplan_state_icon
variables:
- entity: light.living_room_main_lights
- top: 69.8%
- left: 64.8%
- type: custom:decluttering-card
template: floorplan_state_icon
variables:
- entity: light.master_bedroom_main_lights
- top: 25%
- left: 69.5%
- type: custom:decluttering-card
template: floorplan_state_icon
variables:
- entity: light.bedside_light
- top: 11.7%
- left: 61.6%
- type: custom:decluttering-card
template: floorplan_state_icon
variables:
- entity: light.bed_led
- top: 11%
- left: 67.5%
- type: custom:decluttering-card
template: floorplan_state_icon
variables:
- entity: light.tuya_kitchen_secondary_lights
- top: 29%
- left: 12.9%
- type: custom:decluttering-card
template: floorplan_state_icon
variables:
- entity: light.tuya_kitchen_main_lights
- top: 29%
- left: 20.3%
- type: custom:decluttering-card
template: floorplan_state_icon
variables:
- entity: light.hallway_entrance_lights
- top: 25%
- left: 50.2%
- type: custom:decluttering-card
template: floorplan_state_icon
variables:
- entity: light.tuya_hallway_main_lights
- top: 41%
- left: 34.8%
@@ -0,0 +1,194 @@
- type: conditional
conditions:
- entity: input_boolean.floorplan_show_all
state: 'on'
elements:
# Living room ───────────────────────────────────────────────────────────────────────────
# Titanium
- type: custom:decluttering-card
template: floorplan_state_icon
variables:
- entity: switch.titanium_power
- top: 62%
- left: 81%
# Platinum
- type: custom:decluttering-card
template: floorplan_state_with_icon
variables:
- entity: sensor.synology_dsm_type_volume_1
- top: 54%
- left: 75%
- icon: mdi:nas
- tap_action:
action: more-info
# Router
- type: custom:decluttering-card
template: floorplan_state_with_icon
variables:
- entity: sensor.fast_com_download
- top: 54%
- left: 54%
- icon: mdi:router-wireless
- tap_action:
action: more-info
# Shield + TV
- type: custom:decluttering-card
template: floorplan_state_with_icon
variables:
- entity: media_player.nvidia_shield
- top: 54%
- left: 60%
- icon: mdi:set-top-box
- tap_action:
action: more-info
# Camera
- type: custom:decluttering-card
template: floorplan_state_with_icon
variables:
- entity: switch.camera
- top: 83%
- left: 48%
- icon: mdi:video
# Master Bedroom ────────────────────────────────────────────────────────────────────────
# Puifier
- type: custom:decluttering-card
template: floorplan_state_icon
variables:
- entity: fan.philips_airpurifier
- top: 44.5%
- left: 61.6%
# Sonos
- type: custom:decluttering-card
template: floorplan_state_with_icon
variables:
- entity: media_player.master_bedroom
- top: 44.5%
- left: 66%
- icon: mdi:speaker
- tap_action:
action: more-info
# Temperature
- type: state-label
entity: sensor.bedroom_weather_temperature
style:
top: 41%
left: 75%
color: "#000"
border-radius: 6px
text-align: center
background-color: "rgba(255, 255, 255, 0.9)"
font-size: 13px
font-weight: bold
line-height: 8px
# Kitchen ────────────────────────────────────────────────────────────────────────
# Sonos
- type: custom:decluttering-card
template: floorplan_state_with_icon
variables:
- entity: media_player.kitchen
- top: 19%
- left: 16%
- icon: mdi:speaker
- tap_action:
action: more-info
# Motion
- type: custom:decluttering-card
template: floorplan_state_icon
variables:
- entity: binary_sensor.browser_kitchen
- top: 34%
- left: 27%
- tap_action:
action: more-info
# Bathroom ────────────────────────────────────────────────────────────────────────
# Sonos
- type: custom:decluttering-card
template: floorplan_state_with_icon
variables:
- entity: media_player.bathroom
- top: 25%
- left: 39%
- icon: mdi:speaker
- tap_action:
action: more-info
# Hallway ────────────────────────────────────────────────────────────────────────
# Motion
- type: custom:decluttering-card
template: floorplan_state_icon
variables:
- entity: binary_sensor.motion_2_ias_zone
- top: 34%
- left: 54%
- tap_action:
action: more-info
# Always visible ────────────────────────────────────────────────────────────────────────
# Living room window
- type: conditional
conditions:
- entity: binary_sensor.living_room_right_window_on_off_wrapper
state: "on"
elements:
- type: image
image: /local/images/floorplan/transparent.png
entity: binary_sensor.living_room_right_window_on_off_wrapper
style:
width: 7.8%
height: 8.4%
top: 70.5%
left: 79.3%
background-color: rgba(255,0,0,0.5)
color: transparent
transform: perspective(2000px) rotateX(174.6deg) rotateZ(0deg) rotateY(74.1deg)
# Master bedroom window
- type: conditional
conditions:
- entity: binary_sensor.bedroom_right_window_on_off_wrapper
state: "on"
elements:
- type: image
image: /local/images/floorplan/transparent.png
entity: binary_sensor.bedroom_right_window_on_off_wrapper
style:
width: 7.5%
height: 8.2%
top: 32.6%
left: 79.2%
background-color: rgba(255,0,0,0.5)
color: transparent
transform: perspective(2000px) rotateX(185.6deg) rotateY(73.1deg)
# Master bedroom LED Strip
- type: conditional
conditions:
- entity: light.bed_led
state: "on"
elements:
- type: state-label
entity: light.bed_led
style:
width: 9.9%
height: 0
top: 7.6%
left: 67.6%
color: transparent
box-shadow: '0 0 7px 4px rgb(255, 127, 0)'
opacity: 0.6
@@ -0,0 +1,38 @@
# Dark mode override
- type: custom:decluttering-card
template: floorplan_state_with_icon
variables:
- entity: input_boolean.floorplan_night_mode
- top: 25px
- left: 25px
- icon: mdi:white-balance-sunny
- type: custom:decluttering-card
template: floorplan_state_with_icon
variables:
- entity: input_boolean.floorplan_show_all
- top: 70px
- left: 25px
- icon: mdi:arrow-expand-all
- type: custom:decluttering-card
template: floorplan_state_icon
variables:
- entity: input_boolean.guest_mode
- top: 115px
- left: 25px
- type: custom:decluttering-card
template: floorplan_state_icon
variables:
- entity: input_boolean.speech_notifications
- top: 160px
- left: 25px
- type: custom:decluttering-card
template: floorplan_state_icon
variables:
- entity: input_boolean.georgi_home
- top: 205px
- left: 25px