mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 10:30:14 -04:00
129 lines
4.5 KiB
YAML
129 lines
4.5 KiB
YAML
subview: true
|
|
title: Front Yard
|
|
path: front-yard
|
|
icon: mdi:grass
|
|
badges: []
|
|
cards:
|
|
- type: vertical-stack
|
|
cards:
|
|
# - type: custom:mushroom-chips-card
|
|
# chips:
|
|
# - type: back
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-template-card
|
|
primary: "{{states('sensor.front_yard_thermostat_temperature')}}°F"
|
|
secondary: ""
|
|
icon: mdi:thermometer
|
|
entity: sensor.front_yard_thermostat_temperature
|
|
icon_color: >-
|
|
{% if states('sensor.front_yard_thermostat_temperature')|float(default=0) < 30.0 %}
|
|
white
|
|
{%elif states('sensor.front_yard_thermostat_temperature')|float(default=0) < 60.0 %}
|
|
blue
|
|
{%elif states('sensor.front_yard_thermostat_temperature')|float(default=0) < 85.0 %}
|
|
green
|
|
{%elif states('sensor.front_yard_thermostat_temperature')|float(default=0) < 100.0 %}
|
|
orange
|
|
{%else%}
|
|
red
|
|
{%endif%}
|
|
layout: vertical
|
|
- type: custom:mushroom-template-card
|
|
primary: "{{states('sensor.front_yard_thermostat_humidity')}}%"
|
|
secondary: ""
|
|
icon: mdi:water-percent
|
|
entity: sensor.front_yard_thermostat_humidity
|
|
icon_color: >-
|
|
{% if states('sensor.front_yard_thermostat_humidity')|float(default=0) < 20.0 %}
|
|
white
|
|
{%elif states('sensor.front_yard_thermostat_humidity')|float(default=0) < 40.0 %}
|
|
grey
|
|
{%elif states('sensor.front_yard_thermostat_humidity')|float(default=0) < 60.0 %}
|
|
green
|
|
{%elif states('sensor.front_yard_thermostat_humidity')|float(default=0) < 80.0 %}
|
|
cyan
|
|
{%else%}
|
|
blue
|
|
{%endif%}
|
|
layout: vertical
|
|
- type: vertical-stack
|
|
cards:
|
|
- type: custom:mushroom-title-card
|
|
subtitle: Lights
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-light-card
|
|
entity: light.front_porch_overhead
|
|
name: Porch
|
|
tap_action:
|
|
action: toggle
|
|
use_light_color: false
|
|
show_brightness_control: false
|
|
layout: vertical
|
|
hide_state: true
|
|
- type: custom:mushroom-light-card
|
|
entity: light.driveway
|
|
name: Driveway
|
|
tap_action:
|
|
action: toggle
|
|
use_light_color: false
|
|
show_brightness_control: false
|
|
layout: vertical
|
|
hide_state: true
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-entity-card
|
|
layout: vertical
|
|
entity: sensor.front_porch_hue_motion_sensor_illuminance
|
|
name: Porch
|
|
- type: custom:mushroom-entity-card
|
|
entity: input_number.front_porch_light_level_trigger
|
|
layout: vertical
|
|
name: Trigger
|
|
- type: custom:mushroom-entity-card
|
|
entity: binary_sensor.front_porch_naturally_lit
|
|
name: Naturally Lit
|
|
layout: vertical
|
|
secondary_info: none
|
|
# - type: vertical-stack
|
|
# cards:
|
|
# - type: custom:mushroom-title-card
|
|
# subtitle: Devices
|
|
# - type: horizontal-stack
|
|
# cards:
|
|
# - type: custom:mushroom-entity-card
|
|
# entity: switch.outdoor_plug
|
|
# name: Plug
|
|
# icon: mdi:toggle-switch-variant
|
|
# layout: vertical
|
|
# secondary_info: none
|
|
- type: vertical-stack
|
|
cards:
|
|
- type: custom:mushroom-title-card
|
|
subtitle: Sensors
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-entity-card
|
|
entity: binary_sensor.front_porch_motion
|
|
name: Motion
|
|
layout: vertical
|
|
secondary_info: none
|
|
- type: custom:mushroom-entity-card
|
|
entity: binary_sensor.doorbell_cam_person_occupancy
|
|
name: Person
|
|
layout: vertical
|
|
secondary_info: none
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-entity-card
|
|
entity: binary_sensor.entryway_window_contact
|
|
name: Window
|
|
layout: vertical
|
|
secondary_info: none
|
|
- type: vertical-stack
|
|
cards:
|
|
- type: custom:mushroom-title-card
|
|
subtitle: Cameras
|
|
- !include /config/lovelace/cameras/view-camera-18.yaml
|