Files
2025-12-12 16:33:09 -05:00

134 lines
4.6 KiB
YAML

subview: true
title: Front Room
path: front-room
icon: mdi:television
type: sections
badges: []
sections:
- type: grid
cards:
# - type: custom:mushroom-chips-card
# chips:
# - type: back
- type: horizontal-stack
cards:
- hours_to_show: 24
graph: line
type: sensor
entity: sensor.front_room_thermostat_temperature
detail: 1
name: Temperature
- hours_to_show: 24
graph: line
type: sensor
detail: 1
entity: sensor.front_room_thermostat_humidity
name: Humidity
- type: grid
cards:
- type: custom:mushroom-title-card
subtitle: Lights
- type: horizontal-stack
cards:
- type: custom:mushroom-light-card
entity: light.front_room_hue
name: Main Light
tap_action:
action: toggle
use_light_color: false
show_brightness_control: false
layout: vertical
hide_state: false
- type: custom:mushroom-entity-card
entity: input_select.front_room_mode
name: Mode
layout: vertical
- type: custom:mushroom-template-card
primary: Naturally Lit
secondary: >-
Trigger: {{states('input_number.front_room_light_level_trigger')|int}}
Lux: {{states('sensor.front_room_hue_motion_sensor_illuminance')}}
icon: >
{{iif(is_state('binary_sensor.front_room_naturally_lit','on'),'mdi:brightness-auto','mdi:weather-sunny-off')}}
entity: input_number.front_room_light_level_trigger
layout: vertical
icon_color: >
{{iif(is_state('binary_sensor.front_room_naturally_lit','on'),'blue','disabled')}}
tap_action:
action: more-info
- type: horizontal-stack
cards:
- type: custom:mushroom-template-card
entity: input_boolean.front_room_light_cycle
primary: Cycle
secondary: "{{states('input_boolean.front_room_light_cycle') | title}}"
layout: vertical
tap_action:
action: call-service
service: homeassistant.toggle
service_data: {}
target:
entity_id: input_boolean.front_room_light_cycle
icon: >
{{iif(is_state('binary_sensor.front_room_naturally_lit','on'),'mdi:party-popper','mdi:track-light-off')}}
icon_color: >
{{iif(is_state('binary_sensor.front_room_naturally_lit','on'),'blue','disabled')}}
- type: custom:mushroom-entity-card
entity: input_number.front_room_light_cycle_brightness
name: Brightness
layout: vertical
- type: custom:mushroom-entity-card
entity: input_number.front_room_light_cycle_transition
name: Transition
layout: vertical
- type: custom:mushroom-entity-card
entity: input_boolean.front_room_cycle_same
name: Same
layout: vertical
- type: custom:mushroom-entity-card
entity: input_select.front_room_color_set
name: Color
layout: vertical
- type: grid
cards:
- type: custom:mushroom-title-card
subtitle: Devices
- type: custom:mini-media-player
entity: media_player.front_room_hub
artwork: cover-fit
- type: grid
cards:
- type: custom:mushroom-title-card
subtitle: Sensors
- type: horizontal-stack
cards:
- type: custom:mushroom-entity-card
entity: binary_sensor.front_room_motion
name: Motion
layout: vertical
secondary_info: none
- type: custom:mushroom-entity-card
entity: binary_sensor.front_room_person_occupancy
name: Person
layout: vertical
secondary_info: none
- type: horizontal-stack
cards:
- type: custom:mushroom-entity-card
entity: binary_sensor.pantry_door_contact
name: Pantry
layout: vertical
secondary_info: none
- type: custom:mushroom-entity-card
entity: binary_sensor.front_room_window_contact
name: Window
layout: vertical
secondary_info: none
- type: grid
cards:
- type: custom:mushroom-title-card
subtitle: Cameras
- !include /config/lovelace/cameras/view-camera-14.yaml
- !include /config/lovelace/templates/front-room-remote.yaml