mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-10 02:50:12 -04:00
initial push
This commit is contained in:
@@ -0,0 +1,287 @@
|
||||
theme: Mushroom
|
||||
subview: true
|
||||
title: Nursery
|
||||
path: nursery
|
||||
icon: mdi:bunk-bed
|
||||
badges: []
|
||||
cards:
|
||||
# Header and HVAC
|
||||
- type: vertical-stack
|
||||
cards:
|
||||
- type: custom:mushroom-chips-card
|
||||
chips:
|
||||
- type: back
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- hours_to_show: 24
|
||||
graph: line
|
||||
type: sensor
|
||||
entity: sensor.nursery_multisensor_air_temperature
|
||||
detail: 1
|
||||
name: Temperature
|
||||
- hours_to_show: 24
|
||||
graph: line
|
||||
type: sensor
|
||||
detail: 1
|
||||
entity: sensor.nursery_multisensor_humidity
|
||||
name: Humidity
|
||||
|
||||
# Lights
|
||||
- type: vertical-stack
|
||||
cards:
|
||||
- type: custom:mushroom-title-card
|
||||
subtitle: Lights
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:mushroom-light-card
|
||||
entity: light.nursery_hue
|
||||
name: Main Light
|
||||
tap_action:
|
||||
action: toggle
|
||||
use_light_color: false
|
||||
show_brightness_control: false
|
||||
layout: vertical
|
||||
hide_state: true
|
||||
- type: custom:mushroom-entity-card
|
||||
entity: input_select.nursery_mode
|
||||
name: Mode
|
||||
layout: vertical
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:mushroom-template-card
|
||||
primary: Emmett
|
||||
secondary: '{{states(''select.black_bed_wled_preset'')}}'
|
||||
entity: select.black_bed_wled_preset
|
||||
icon: mdi:led-strip-variant
|
||||
icon_color: '{{ iif(is_state(''light.black_bed_wled'', ''on''), ''yellow'') }}'
|
||||
tap_action:
|
||||
action: more-info
|
||||
hold_action:
|
||||
action: call-service
|
||||
service: homeassistant.toggle
|
||||
service_data: {}
|
||||
target:
|
||||
entity_id: light.black_bed_wled
|
||||
double_tap_action:
|
||||
action: url
|
||||
url_path: http://192.168.1.181
|
||||
layout: vertical
|
||||
- type: custom:mushroom-template-card
|
||||
primary: Bridget
|
||||
secondary: '{{states(''select.white_bed_wled_preset'')}}'
|
||||
entity: select.white_bed_wled_preset
|
||||
icon: mdi:led-strip-variant
|
||||
icon_color: '{{ iif(is_state(''light.white_bed_wled'', ''on''), ''yellow'') }}'
|
||||
tap_action:
|
||||
action: more-info
|
||||
hold_action:
|
||||
action: call-service
|
||||
service: homeassistant.toggle
|
||||
service_data: {}
|
||||
target:
|
||||
entity_id: light.white_bed_wled
|
||||
double_tap_action:
|
||||
action: url
|
||||
url_path: http://192.168.1.182
|
||||
layout: vertical
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:mushroom-light-card
|
||||
entity: light.nursery_closet
|
||||
name: Closet
|
||||
icon: mdi:dome-light
|
||||
tap_action:
|
||||
action: toggle
|
||||
layout: vertical
|
||||
hide_state: true
|
||||
- type: custom:mushroom-light-card
|
||||
entity: light.nursery_tagreader_led
|
||||
name: Tagreader
|
||||
icon: mdi:led-variant-outline
|
||||
tap_action:
|
||||
action: toggle
|
||||
layout: vertical
|
||||
hide_state: true
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:mushroom-entity-card
|
||||
layout: vertical
|
||||
entity: sensor.nursery_multisensor_illuminance
|
||||
name: Nursery
|
||||
- type: custom:mushroom-entity-card
|
||||
entity: input_number.nursery_light_level_trigger
|
||||
layout: vertical
|
||||
name: Trigger
|
||||
- type: custom:mushroom-entity-card
|
||||
entity: binary_sensor.nursery_naturally_lit
|
||||
name: Naturally Lit
|
||||
layout: vertical
|
||||
secondary_info: none
|
||||
|
||||
# Devices
|
||||
- type: vertical-stack
|
||||
cards:
|
||||
- type: custom:mushroom-title-card
|
||||
subtitle: Devices
|
||||
- type: custom:mushroom-fan-card
|
||||
entity: fan.nursery
|
||||
name: Fan
|
||||
icon_animation: false
|
||||
tap_action:
|
||||
action: toggle
|
||||
show_percentage_control: true
|
||||
hide_state: true
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:mushroom-entity-card
|
||||
entity: script.all_kids_youtube_music
|
||||
name: All Songs
|
||||
tap_action:
|
||||
action: call-service
|
||||
service: script.all_kids_youtube_music
|
||||
service_data: {}
|
||||
target: {}
|
||||
primary_info: name
|
||||
layout: vertical
|
||||
secondary_info: none
|
||||
icon: mdi:music
|
||||
- type: custom:mushroom-entity-card
|
||||
entity: script.goodnight_kids_youtube_music
|
||||
name: Goodnight Songs
|
||||
tap_action:
|
||||
action: call-service
|
||||
service: script.goodnight_kids_youtube_music
|
||||
service_data: {}
|
||||
target: {}
|
||||
primary_info: name
|
||||
layout: vertical
|
||||
secondary_info: none
|
||||
icon: mdi:sleep
|
||||
- type: custom:mushroom-entity-card
|
||||
entity: media_player.ytube_music_player
|
||||
name: 'Off'
|
||||
tap_action:
|
||||
action: call-service
|
||||
service: homeassistant.turn_off
|
||||
service_data: {}
|
||||
target:
|
||||
entity_id: media_player.ytube_music_player
|
||||
primary_info: name
|
||||
layout: vertical
|
||||
secondary_info: none
|
||||
icon: mdi:speaker-off
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:mini-media-player
|
||||
entity: media_player.nursery_hub
|
||||
artwork: cover-fit
|
||||
- type: vertical-stack
|
||||
cards:
|
||||
- type: custom:mushroom-title-card
|
||||
subtitle: Sensors
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:mushroom-template-card
|
||||
entity: binary_sensor.black_bed_occupied
|
||||
icon: mdi:bed
|
||||
icon_color: >-
|
||||
{% if(is_state('binary_sensor.black_bed_occupied','on')) %}
|
||||
yellow
|
||||
{% elif(is_state('binary_sensor.black_bed_hx711_error','on')) %}
|
||||
red
|
||||
{% endif %}
|
||||
primary: Black Bed
|
||||
double_tap_action:
|
||||
action: call-service
|
||||
service: homeassistant.toggle
|
||||
service_data: {}
|
||||
target:
|
||||
entity_id: switch.black_bed_force_occupancy
|
||||
hold_action:
|
||||
action: call-service
|
||||
service: button.press
|
||||
service_data: {}
|
||||
target:
|
||||
entity_id: button.black_bed_manual_tare
|
||||
layout: vertical
|
||||
- type: custom:mushroom-template-card
|
||||
entity: binary_sensor.white_bed_occupied
|
||||
icon: mdi:bed
|
||||
icon_color: >-
|
||||
{% if(is_state('binary_sensor.white_bed_occupied','on')) %}
|
||||
yellow
|
||||
{% elif(is_state('binary_sensor.white_bed_hx711_error','on')) %}
|
||||
red
|
||||
{% endif %}
|
||||
primary: White Bed
|
||||
double_tap_action:
|
||||
action: call-service
|
||||
service: homeassistant.toggle
|
||||
service_data: {}
|
||||
target:
|
||||
entity_id: switch.white_bed_force_occupancy
|
||||
hold_action:
|
||||
action: call-service
|
||||
service: button.press
|
||||
service_data: {}
|
||||
target:
|
||||
entity_id: button.white_bed_manual_tare
|
||||
layout: vertical
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:mushroom-entity-card
|
||||
entity: group.nursery_motion
|
||||
name: Motion
|
||||
secondary_info: none
|
||||
layout: vertical
|
||||
- type: custom:mushroom-entity-card
|
||||
entity: binary_sensor.nursery_person_occupancy
|
||||
name: Person
|
||||
secondary_info: none
|
||||
layout: vertical
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:mushroom-entity-card
|
||||
entity: binary_sensor.nursery_door
|
||||
name: Door
|
||||
secondary_info: none
|
||||
layout: vertical
|
||||
- type: custom:mushroom-entity-card
|
||||
entity: binary_sensor.nursery_closet_door_contact
|
||||
name: Closet
|
||||
secondary_info: none
|
||||
layout: vertical
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:mushroom-entity-card
|
||||
entity: binary_sensor.nursery_window_contact
|
||||
name: Window
|
||||
secondary_info: none
|
||||
layout: vertical
|
||||
|
||||
- type: vertical-stack
|
||||
cards:
|
||||
- type: custom:mushroom-title-card
|
||||
subtitle: Bedtime
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- show_name: true
|
||||
show_icon: true
|
||||
type: button
|
||||
tap_action:
|
||||
action: toggle
|
||||
entity: input_button.nursery_bedtime
|
||||
name: Bedtime
|
||||
- show_name: true
|
||||
show_icon: true
|
||||
type: button
|
||||
tap_action:
|
||||
action: toggle
|
||||
entity: input_button.nursery_awake
|
||||
name: Awake
|
||||
|
||||
- type: vertical-stack
|
||||
cards:
|
||||
- type: custom:mushroom-title-card
|
||||
subtitle: Cameras
|
||||
- !include /config/lovelace/cameras/view-camera-08.yaml
|
||||
Reference in New Issue
Block a user