mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 18:40:14 -04:00
blue_room to boys_room
This commit is contained in:
@@ -0,0 +1,187 @@
|
||||
type: picture-elements
|
||||
#background image
|
||||
image: /local/bg500x225.png
|
||||
elements:
|
||||
- type: custom:mushroom-template-card
|
||||
primary: "{{states('input_select.nursery_mode')}}"
|
||||
entity: input_select.nursery_mode
|
||||
tap_action:
|
||||
action: more-info
|
||||
style:
|
||||
font-style: italic
|
||||
left: 14%
|
||||
top: 88%
|
||||
|
||||
- type: custom:mushroom-template-card
|
||||
primary: "{{states('input_select.nursery_wled')}}"
|
||||
entity: input_select.nursery_wled
|
||||
tap_action:
|
||||
action: more-info
|
||||
style:
|
||||
font-style: italic
|
||||
left: 62%
|
||||
top: 88%
|
||||
|
||||
- type: state-label
|
||||
entity: sensor.nursery_multisensor_air_temperature
|
||||
style:
|
||||
left: 15%
|
||||
top: 35%
|
||||
font-size: 180%
|
||||
- type: state-label
|
||||
entity: sensor.nursery_multisensor_humidity
|
||||
style:
|
||||
left: 85%
|
||||
top: 35%
|
||||
font-size: 180%
|
||||
text-align: right
|
||||
#Card title
|
||||
- type: custom:mushroom-title-card
|
||||
title: "Girl's Room"
|
||||
style:
|
||||
font-size: 130%
|
||||
left: -2%
|
||||
top: -10%
|
||||
transform: initial
|
||||
#top left icon spot
|
||||
- type: state-icon
|
||||
entity: binary_sensor.nursery_occupied
|
||||
style:
|
||||
left: 52%
|
||||
top: 9%
|
||||
#top left icon #2 spot
|
||||
# - type: state-icon
|
||||
# entity: group.nursery_motion
|
||||
# style:
|
||||
# left: 52%
|
||||
# top: 9%
|
||||
#top icon spot #1
|
||||
- type: state-icon
|
||||
entity: binary_sensor.nursery_window_contact
|
||||
style:
|
||||
left: 60%
|
||||
top: 9%
|
||||
- type: state-icon
|
||||
entity: fan.nursery
|
||||
style:
|
||||
left: 68%
|
||||
top: 9%
|
||||
tap_action:
|
||||
action: more-info
|
||||
hold_action:
|
||||
action: toggle
|
||||
#top icon spot #4
|
||||
- type: state-icon
|
||||
entity: switch.nursery_bed_lights
|
||||
style:
|
||||
left: 76%
|
||||
top: 9%
|
||||
tap_action:
|
||||
action: toggle
|
||||
hold_action:
|
||||
action: more-info
|
||||
#top icon spot #3
|
||||
- type: state-icon
|
||||
entity: switch.nursery_light_cycle
|
||||
style:
|
||||
left: 84%
|
||||
top: 9%
|
||||
tap_action:
|
||||
action: toggle
|
||||
hold_action:
|
||||
action: more-info
|
||||
#top icon spot #4
|
||||
- type: state-icon
|
||||
entity: input_boolean.nursery_occupied
|
||||
style:
|
||||
left: 92%
|
||||
top: 9%
|
||||
tap_action:
|
||||
action: toggle
|
||||
hold_action:
|
||||
action: more-info
|
||||
|
||||
#button #1
|
||||
- type: "custom:button-card"
|
||||
color: auto
|
||||
entity: light.nursery_hue
|
||||
show_name: false
|
||||
style:
|
||||
left: 14%
|
||||
top: 65%
|
||||
styles:
|
||||
card:
|
||||
- border-radius: 50px
|
||||
- width: 50px
|
||||
- height: 50px
|
||||
icon:
|
||||
- width: 30px
|
||||
- height: 30px
|
||||
tap_action:
|
||||
action: toggle
|
||||
hold_action:
|
||||
action: more-info
|
||||
|
||||
#button #3
|
||||
- type: "custom:button-card"
|
||||
color: auto
|
||||
entity: camera.frigate_cam08
|
||||
show_name: false
|
||||
show_entity_picture: true
|
||||
style:
|
||||
left: 38%
|
||||
top: 65%
|
||||
styles:
|
||||
card:
|
||||
#- border-radius: 50px
|
||||
- width: 50px
|
||||
- height: 50px
|
||||
icon:
|
||||
- width: 45px
|
||||
- height: 45px
|
||||
tap_action:
|
||||
action: navigate
|
||||
navigation_path: /ai-yml/ai-cam08
|
||||
#button #4
|
||||
- type: "custom:button-card"
|
||||
color: auto
|
||||
entity: binary_sensor.bridgets_bed
|
||||
show_name: false
|
||||
style:
|
||||
left: 62%
|
||||
top: 65%
|
||||
#transform: scaleX(-1) translate(50%, -50%)
|
||||
styles:
|
||||
card:
|
||||
- border-radius: 50px
|
||||
- width: 50px
|
||||
- height: 50px
|
||||
icon:
|
||||
- width: 30px
|
||||
- height: 30px
|
||||
tap_action:
|
||||
action: more-info
|
||||
#button #5
|
||||
- type: "custom:button-card"
|
||||
color: auto
|
||||
entity: media_player.girls_room_hub
|
||||
show_name: false
|
||||
show_entity_picture: true
|
||||
style:
|
||||
left: 86%
|
||||
top: 65%
|
||||
styles:
|
||||
card:
|
||||
#- border-radius: 50px
|
||||
- width: 50px
|
||||
- height: 50px
|
||||
icon:
|
||||
- width: 45px
|
||||
- height: 45px
|
||||
tap_action:
|
||||
action: more-info
|
||||
# 12,31,50,69,88
|
||||
# 14,38,62,86
|
||||
# 25,50,75
|
||||
# 33,66
|
||||
# 50
|
||||
Reference in New Issue
Block a user