mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 18:40:14 -04:00
132 lines
2.8 KiB
YAML
132 lines
2.8 KiB
YAML
type: picture-elements
|
|
#background image
|
|
image: /local/bg500x225.png
|
|
elements:
|
|
- type: custom:mushroom-template-card
|
|
primary: "{{ states('group.back_yard_plants') }}"
|
|
entity: group.back_yard_plants
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /phone-yaml/plants
|
|
style:
|
|
left: 50%
|
|
top: 88%
|
|
text-transform: capitalize
|
|
|
|
# - type: custom:mushroom-template-card
|
|
# primary: "{{ states('input_select.camera14_preset') }}"
|
|
# entity: input_select.camera14_preset
|
|
# tap_action:
|
|
# action: more-info
|
|
# style:
|
|
# font-style: italic
|
|
# left: 75%
|
|
# top: 88%
|
|
# text-transform: capitalize
|
|
|
|
- type: state-label
|
|
entity: sensor.back_yard_thermostat_temperature
|
|
style:
|
|
left: 15%
|
|
top: 35%
|
|
font-size: 180%
|
|
- type: state-label
|
|
entity: sensor.back_yard_thermostat_humidity
|
|
style:
|
|
left: 85%
|
|
top: 35%
|
|
font-size: 180%
|
|
text-align: right
|
|
#Card title
|
|
- type: custom:mushroom-title-card
|
|
title: "Back Yard"
|
|
style:
|
|
font-size: 130%
|
|
left: -2%
|
|
top: -10%
|
|
transform: initial
|
|
#top left icon spot
|
|
- type: state-icon
|
|
entity: binary_sensor.back_yard_occupied
|
|
style:
|
|
left: 76%
|
|
top: 9%
|
|
# - type: state-icon
|
|
# entity: binary_sensor.back_yard_motion
|
|
# style:
|
|
# left: 76%
|
|
# top: 9%
|
|
- type: state-icon
|
|
entity: binary_sensor.patio_door_contact
|
|
style:
|
|
left: 84%
|
|
top: 9%
|
|
#top icon spot #4
|
|
- type: state-icon
|
|
entity: input_boolean.back_yard_occupied
|
|
style:
|
|
left: 92%
|
|
top: 9%
|
|
tap_action:
|
|
action: toggle
|
|
hold_action:
|
|
action: more-info
|
|
|
|
- type: "custom:button-card"
|
|
color: auto
|
|
entity: light.deck
|
|
show_name: false
|
|
show_entity_picture: true
|
|
style:
|
|
left: 25%
|
|
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: state-icon
|
|
entity: group.back_yard_plants
|
|
style:
|
|
left: 50%
|
|
top:
|
|
65%
|
|
#- width: 50px
|
|
#- height: 50px
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /phone-yaml/plants
|
|
|
|
# - type: "custom:button-card"
|
|
# color: auto
|
|
# entity: camera.upstairs_cam
|
|
# show_name: false
|
|
# show_entity_picture: true
|
|
# style:
|
|
# left: 75%
|
|
# 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-cam14
|
|
# 12,31,50,69,88
|
|
# 14,38,62,86
|
|
# 25,50,75
|
|
# 33,66
|
|
# 50
|