Files
fresh-home/lovelace/phone/home.yaml
T
2025-12-03 23:21:30 -05:00

586 lines
20 KiB
YAML

title: Home
icon: mdi:home
path: home
badges: []
cards:
- type: custom:mushroom-chips-card
chips:
# - type: weather
# entity: weather.openweathermap_hourly
# show_conditions: true
# show_temperature: true
# tap_action:
# action: navigate
# navigation_path: /details-yml/weather
- type: conditional
conditions:
- entity: switch.opensprinkler_enabled
state: "on"
- entity: input_boolean.sprinkler_is_winterized
state: "off"
chip:
type: entity
entity: sensor.sprinkler_current_status
tap_action:
action: navigate
navigation_path: /phone-yaml/plants
- type: template
entity: binary_sensor.lights_left_on
icon: >
{% if states('sensor.lights_left_on_count') | int(default=0) > 0 -%}
mdi:lightbulb-on
{% else -%}
mdi:lightbulb
{%- endif %}
tap_action:
action: more-info
content: "{{states('sensor.lights_left_on_count')}}"
- type: template
entity: group.my_exterior_windows
icon: >
{% if states('sensor.open_windows_count') | int(default=0) > 0 -%}
mdi:window-open-variant
{% else -%}
mdi:window-closed-variant
{%- endif %}
content: "{{states('sensor.open_windows_count')}}"
tap_action:
action: more-info
- type: template
entity: group.my_exterior_doors
icon: >
{% if states('sensor.open_external_doors_count') | int(default=0) > 0 -%}
{% if is_state('binary_sensor.patio_door_contact','on')-%}
mdi:door-sliding-open
{% elif is_state('binary_sensor.garage_door','on')-%}
mdi:garage-open
{% else -%}
mdi:door-open
{%- endif %}
{% else -%}
mdi:door
{%- endif %}
content: "{{states('sensor.open_external_doors_count')}}"
tap_action:
action: more-info
- type: conditional
conditions:
- entity: input_boolean.clint_needs_am_meds
state: "on"
chip:
type: entity
entity: input_boolean.clint_needs_am_meds
content_info: name
name: AM
tap_action:
action: toggle
- type: conditional
conditions:
- entity: input_boolean.clint_needs_pm_meds
state: "on"
chip:
type: entity
entity: input_boolean.clint_needs_pm_meds
content_info: name
name: PM
tap_action:
action: toggle
- type: conditional
conditions:
- entity: sensor.dishwasher
state_not: "idle"
chip:
type: template
entity: input_boolean.empty_dishwasher
icon: >
{% if is_state('sensor.dishwasher','running')-%}
mdi:dishwasher
{% elif is_state('sensor.dishwasher','pending')-%}
mdi:dishwasher-alert
{%- endif %}
icon_color: >
{% if is_state('sensor.dishwasher','running')-%}
amber
{% elif is_state('sensor.dishwasher','pending')-%}
blue
{% else -%}
red
{%- endif %}
tap_action:
action: navigate
navigation_path: /phone-yaml/dishwasher
- type: conditional
conditions:
- entity: sensor.washing_machine
state_not: "idle"
chip:
type: template
entity: input_boolean.swap_laundry
icon: >
{% if is_state('sensor.washing_machine','running')-%}
mdi:washing-machine
{% elif is_state('sensor.washing_machine','pending')-%}
mdi:washing-machine-alert
{%- endif %}
icon_color: >
{% if is_state('sensor.washing_machine','running')-%}
amber
{% elif is_state('sensor.washing_machine','pending')-%}
blue
{% else -%}
red
{%- endif %}
tap_action:
action: navigate
navigation_path: /phone-yaml/washing-machine
- type: conditional
conditions:
- entity: sensor.tumble_dryer
state_not: "idle"
chip:
type: template
entity: input_boolean.fold_clothes
icon: >
{% if is_state('sensor.tumble_dryer','running')-%}
mdi:tumble-dryer
{% elif is_state('sensor.tumble_dryer','pending')-%}
mdi:tumble-dryer-alert
{%- endif %}
icon_color: >
{% if is_state('sensor.tumble_dryer','running')-%}
amber
{% elif is_state('sensor.tumble_dryer','pending')-%}
blue
{% else -%}
red
{%- endif %}
tap_action:
action: navigate
navigation_path: /phone-yaml/tumble-dryer
- type: conditional
conditions:
- entity: alert.garage_door
state: "on"
chip:
type: entity
entity: alert.garage_door
content_info: name
name: Garage
tap_action:
action: more-info
alignment: center
- type: custom:mushroom-template-card
primary: |-
{% set time = now().hour %}
{% if (time >= 18) %}
Good evening, {{user}}!
{% elif (time >=12) %}
Good afternoon, {{user}}!
{% else %}
Good morning, {{user}}!
{%endif%}
secondary: |-
Today should be {{states('weather.forecast_home')}}, with a high of {{states('sensor.temphigh_today')|float(0)|round(0)}} and a low of {{states('sensor.templow_today')|float(0)|round(0)}}.
tap_action:
action: navigate
navigation_path: /details-yml/weather
- type: vertical-stack
cards:
- type: horizontal-stack
cards:
- type: custom:mushroom-template-card
primary: House
icon: mdi:home
icon_color: blue
layout: vertical
tap_action:
action: navigate
navigation_path: house
- type: custom:mushroom-template-card
icon: mdi:lightbulb
icon_color: yellow
primary: Lights
layout: vertical
tap_action:
action: navigate
navigation_path: lights
- type: custom:mushroom-template-card
icon: mdi:music
icon_color: red
primary: Media
layout: vertical
tap_action:
action: navigate
navigation_path: media
- type: horizontal-stack
cards:
- type: custom:mushroom-template-card
icon: mdi:cctv
icon_color: orange
primary: CCTV
layout: vertical
tap_action:
action: navigate
navigation_path: cctv
- type: custom:mushroom-template-card
primary: Lab
icon: mdi:flask
icon_color: purple
layout: vertical
tap_action:
action: navigate
navigation_path: /config/dashboard
- type: custom:mushroom-template-card
primary: Plants
icon: mdi:flower
icon_color: green
layout: vertical
tap_action:
action: navigate
navigation_path: plants
# - type: custom:mushroom-template-card
# primary: Net
# icon: mdi:network
# icon_color: red
# layout: vertical
# tap_action:
# action: navigate
# navigation_path: net
- type: vertical-stack
cards:
- type: custom:mushroom-title-card
title: People
- type: horizontal-stack
cards:
- type: custom:mushroom-entity-card
entity: input_select.weaver_kids
hide_icon: true
layout: vertical
- type: custom:mushroom-entity-card
entity: input_select.podein_kids
hide_icon: true
layout: vertical
- type: entity-filter
entities:
- input_text.person_clint
- input_text.person_kristy
- input_text.person_emmett
- input_text.person_bridget
- input_text.person_marshall
- input_text.person_tess
- input_text.person_ebin
- input_text.person_guest
state_filter:
- Home
- Off week
card:
type: glance
show_name: false
show_state: true
- type: vertical-stack
cards:
- type: custom:mushroom-title-card
title: Private
- type: horizontal-stack
cards:
- type: custom:mushroom-template-card
primary: Girl's Room
icon: mdi:teddy-bear
entity: light.girls_room_hue
tap_action:
action: navigate
navigation_path: girls-room
hold_action:
action: toggle
secondary: |-
{{states('sensor.girls_room_multisensor_air_temperature')}}°F
{{states('sensor.girls_room_multisensor_humidity')}}%
icon_color: "{{iif(is_state('light.girls_room_hue','on'),'yellow')}}"
multiline_secondary: true
layout: vertical
- type: custom:mushroom-template-card
primary: Boy's Room
icon: mdi:earth
entity: light.boys_room_hue
tap_action:
action: navigate
navigation_path: boys-room
hold_action:
action: toggle
secondary: |-
{{states('sensor.boys_room_multisensor_air_temperature')}}°F
{{states('sensor.boys_room_multisensor_humidity')}}%
icon_color: "{{iif(is_state('light.boys_room_hue','on'),'yellow')}}"
multiline_secondary: true
layout: vertical
- type: custom:mushroom-template-card
primary: Master Bedroom
icon: mdi:bed-king
entity: light.master_bedroom_hue
tap_action:
action: navigate
navigation_path: master-bedroom
hold_action:
action: toggle
secondary: |-
{{states('sensor.master_bedroom_multisensor_air_temperature')}}°F
{{states('sensor.master_bedroom_multisensor_humidity')}}%
icon_color: "{{iif(is_state('light.master_bedroom_hue','on'),'yellow')}}"
multiline_secondary: true
layout: vertical
- type: horizontal-stack
cards:
- type: custom:mushroom-template-card
primary: Bathroom
icon: mdi:shower
entity: light.master_bathroom_hue
tap_action:
action: navigate
navigation_path: master-bathroom
hold_action:
action: toggle
secondary: |-
{{states('sensor.bathroom_multisensor_air_temperature') | round(2) }}°F
{{states('sensor.bathroom_multisensor_relative_humidity') | round(2) }}%
icon_color: "{{iif(is_state('light.master_bathroom_hue','on'),'yellow')}}"
multiline_secondary: true
layout: vertical
- type: custom:mushroom-template-card
primary: Utility Room
icon: mdi:washing-machine
entity: light.utility_room_vanity
tap_action:
action: navigate
navigation_path: utility-room
hold_action:
action: toggle
secondary: |-
{{states('sensor.utility_room_multisensor_air_temperature') | round(2) }}°F
{{states('sensor.utility_room_multisensor_relative_humidity') | round(2) }}%
icon_color: "{{iif(is_state('light.utility_room_vanity','on'),'yellow')}}"
multiline_secondary: true
layout: vertical
- type: custom:mushroom-template-card
primary: Furnace Room
icon: mdi:hvac
entity: light.furnace_room
tap_action:
action: navigate
navigation_path: furnace-room
hold_action:
action: toggle
secondary: |-
{{states('sensor.furnace_room_thermostat_temperature')}}°F
{{states('sensor.furnace_room_thermostat_humidity')}}%
icon_color: "{{iif(is_state('light.furnace_room','on'),'yellow')}}"
multiline_secondary: true
layout: vertical
- type: vertical-stack
cards:
- type: custom:mushroom-title-card
title: Public
- type: horizontal-stack
cards:
- type: custom:mushroom-template-card
primary: Front Room
icon: mdi:television
entity: light.front_room_hue
tap_action:
action: navigate
navigation_path: front-room
hold_action:
action: toggle
secondary: |-
{{states('sensor.front_room_thermostat_temperature')}}°F
{{states('sensor.front_room_thermostat_humidity')}}%
icon_color: "{{iif(is_state('light.front_room_hue','on'),'yellow')}}"
multiline_secondary: true
layout: vertical
- type: custom:mushroom-template-card
primary: Kitchen
icon: mdi:fridge
entity: light.kitchen_hue
tap_action:
action: navigate
navigation_path: kitchen
hold_action:
action: toggle
secondary: |-
{{states('sensor.kitchen_multisensor_air_temperature')}}°F
{{states('sensor.kitchen_multisensor_humidity')}}%
icon_color: "{{iif(is_state('light.kitchen_hue','on'),'yellow')}}"
multiline_secondary: true
layout: vertical
- type: custom:mushroom-template-card
primary: Dining Room
icon: mdi:table-chair
entity: light.dining_room_switch
tap_action:
action: navigate
navigation_path: dining-room
hold_action:
action: toggle
secondary: |-
{{states('sensor.dining_room_multisensor_air_temperature')}}°F
{{states('sensor.dining_room_multisensor_humidity')}}%
icon_color: "{{iif(is_state('light.dining_room_switch','on'),'yellow')}}"
multiline_secondary: true
layout: vertical
- type: horizontal-stack
cards:
- type: custom:mushroom-template-card
primary: Computer Area
icon: mdi:desktop-classic
entity: light.computer_area_hue
tap_action:
action: navigate
navigation_path: computer-area
hold_action:
action: toggle
secondary: >-
{{states('sensor.computer_area_multisensor_air_temperature')}}°F
{{states('sensor.computer_area_multisensor_humidity')}}%
icon_color: "{{iif(is_state('light.computer_area_hue','on'),'yellow')}}"
multiline_secondary: true
layout: vertical
- type: custom:mushroom-template-card
primary: Great Room
icon: mdi:microsoft-xbox-controller
entity: light.great_room_hue
tap_action:
action: navigate
navigation_path: great-room
hold_action:
action: toggle
secondary: |-
{{states('sensor.great_room_multisensor_air_temperature')}}°F
{{states('sensor.great_room_multisensor_humidity')}}%
icon_color: "{{iif(is_state('light.great_room_hue','on'),'yellow')}}"
multiline_secondary: true
layout: vertical
- type: custom:mushroom-template-card
primary: Mancave
icon: mdi:human-male
entity: light.mancave
tap_action:
action: navigate
navigation_path: mancave
hold_action:
action: toggle
secondary: |-
{{states('sensor.mancave_thermostat_temperature')}}°F
{{states('sensor.mancave_thermostat_humidity')}}%
icon_color: "{{iif(is_state('light.mancave','on'),'yellow')}}"
multiline_secondary: true
layout: vertical
- type: vertical-stack
cards:
- type: custom:mushroom-title-card
title: Ground Level
- type: horizontal-stack
cards:
- type: custom:mushroom-template-card
primary: Entryway
icon: mdi:ceiling-light
entity: light.entryway_hue
tap_action:
action: navigate
navigation_path: entryway
hold_action:
action: toggle
secondary: |-
{{states('sensor.entryway_temperature')}}°F
{{states('sensor.thermostat_humidity')}}%
icon_color: "{{iif(is_state('light.entryway_hue','on'),'yellow')}}"
multiline_secondary: true
layout: vertical
- type: custom:mushroom-template-card
primary: Front Porch
icon: mdi:door
entity: light.front_porch_overhead
tap_action:
action: navigate
navigation_path: garage
hold_action:
action: toggle
secondary: |-
{{states('sensor.front_yard_thermostat_temperature')}}°F
{{states('sensor.front_yard_thermostat_humidity')}}%
icon_color: "{{iif(is_state('light.front_porch_overhead','on'),'yellow')}}"
multiline_secondary: true
layout: vertical
- type: custom:mushroom-template-card
primary: Garage
icon: mdi:garage
entity: light.garage_overhead
tap_action:
action: navigate
navigation_path: garage
hold_action:
action: toggle
secondary: |-
{{states('sensor.garage_multisensor_air_temperature')}}°F
{{states('sensor.garage_multisensor_humidity')}}%
icon_color: "{{iif(is_state('light.garage_overhead','on'),'yellow')}}"
multiline_secondary: true
layout: vertical
- type: horizontal-stack
cards:
- type: custom:mushroom-template-card
primary: Front Yard
icon: mdi:grass
entity: light.front_porch_overhead
tap_action:
action: navigate
navigation_path: front-yard
hold_action:
action: toggle
secondary: |-
{{states('sensor.front_porch_temperature')}}°F
{{states('sensor.garage_multisensor_humidity')}}%
icon_color: "{{iif(is_state('light.front_porch_overhead','on'),'yellow')}}"
multiline_secondary: true
layout: vertical
- type: custom:mushroom-template-card
primary: Back Yard
icon: mdi:slide
entity: light.deck
tap_action:
action: navigate
navigation_path: back-yard
hold_action:
action: toggle
secondary: |-
{{states('sensor.back_yard_thermostat_temperature')}}°F
{{states('sensor.back_yard_thermostat_humidity')}}%
icon_color: "{{iif(is_state('light.deck','on'),'yellow')}}"
multiline_secondary: true
layout: vertical
- type: custom:mushroom-template-card
primary: Deck
icon: mdi:grill
entity: light.deck
tap_action:
action: navigate
navigation_path: back-yard
hold_action:
action: toggle
secondary: |-
{{states('sensor.back_yard_thermostat_temperature')}}°F
{{states('sensor.back_yard_thermostat_humidity')}}%
icon_color: "{{iif(is_state('light.deck','on'),'yellow')}}"
multiline_secondary: true
layout: vertical