Files
fresh-home/lovelace/room_cards/front_room.yaml
T
2025-07-27 00:05:44 -04:00

146 lines
3.0 KiB
YAML

type: picture-elements
#background image
image: /local/bg500x225.png
elements:
- type: custom:mushroom-template-card
primary: "{{states('input_select.front_room_mode')}}"
entity: input_select.front_room_mode
tap_action:
action: more-info
style:
font-style: italic
left: 14%
top: 88%
- type: state-label
entity: sensor.front_room_thermostat_temperature
style:
left: 15%
top: 35%
font-size: 180%
- type: state-label
entity: sensor.front_room_thermostat_humidity
style:
left: 85%
top: 35%
font-size: 180%
text-align: right
- type: custom:mushroom-title-card
title: "Front Room"
style:
font-size: 130%
left: -2%
top: -10%
transform: initial
- type: state-icon
entity: binary_sensor.front_room_occupied
style:
left: 68%
top: 9%
# - type: state-icon
# entity: group.front_room_motion
# style:
# left: 68%
# top: 9%
- type: state-icon
entity: binary_sensor.front_room_window_contact
style:
left: 76%
top: 9%
- type: state-icon
entity: switch.front_room_light_cycle
style:
left: 84%
top: 9%
tap_action:
action: toggle
hold_action:
action: more-info
- type: state-icon
entity: input_boolean.front_room_occupied
style:
left: 92%
top: 9%
tap_action:
action: toggle
hold_action:
action: more-info
- color: auto
entity: light.front_room_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
type: "custom:button-card"
# - type: "custom:button-card"
# color: auto
# entity: camera.frigate_cam13
# 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-cam13
- type: "custom:button-card"
color: auto
entity: media_player.front_room_tv
show_name: false
show_entity_picture: true
style:
left: 62%
top: 65%
styles:
card:
- width: 50px
- height: 50px
icon:
- width: 45px
- height: 45px
tap_action:
action: more-info
- type: "custom:button-card"
color: auto
entity: media_player.front_room_hub
show_name: false
show_entity_picture: true
style:
left: 86%
top: 65%
styles:
card:
- width: 50px
- height: 50px
icon:
- width: 45px
- height: 45px
tap_action:
action: more-info
# 12,31,50,69,8
# 14,38,62,86
# 25,50,75
# 33,66
# 50