mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 10:30:14 -04:00
246 lines
9.0 KiB
YAML
246 lines
9.0 KiB
YAML
title: Lights
|
|
path: lights
|
|
icon: mdi:lightbulb-group
|
|
badges: []
|
|
subview: true
|
|
cards:
|
|
- type: custom:mushroom-title-card
|
|
title: Upstairs Lights
|
|
- type: vertical-stack
|
|
cards:
|
|
- type: custom:mushroom-title-card
|
|
subtitle: Nursery
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-light-card
|
|
entity: light.nursery_hue
|
|
name: Lights
|
|
use_light_color: false
|
|
tap_action:
|
|
action: call-service
|
|
service: homeassistant.toggle
|
|
service_data: {}
|
|
target:
|
|
entity_id: input_boolean.nursery_occupied
|
|
- type: custom:mushroom-light-card
|
|
entity: light.nursery_closet
|
|
name: Closet
|
|
use_light_color: false
|
|
tap_action:
|
|
action: toggle
|
|
icon: mdi:dome-light
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-entity-card
|
|
entity: input_select.nursery_mode
|
|
name: Mode
|
|
- type: custom:mushroom-template-card
|
|
secondary: '{{states(''input_select.nursery_color_set'')}}'
|
|
entity: input_select.nursery_color_set
|
|
icon: mdi:party-popper
|
|
icon_color: >-
|
|
{{ iif(is_state('input_boolean.nursery_light_cycle', 'on'),
|
|
'yellow') }}
|
|
tap_action:
|
|
action: call-service
|
|
service: homeassistant.toggle
|
|
service_data: {}
|
|
target:
|
|
entity_id: input_boolean.nursery_light_cycle
|
|
primary: Cycle
|
|
hold_action:
|
|
action: more-info
|
|
- 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
|
|
- 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
|
|
- type: vertical-stack
|
|
cards:
|
|
- type: custom:mushroom-title-card
|
|
subtitle: Front Room
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-template-card
|
|
primary: Front Room
|
|
secondary: '{{states(''input_select.front_room_mode'')}}'
|
|
entity: input_boolean.front_room_occupied
|
|
icon: mdi:lightbulb
|
|
icon_color: '{{ iif(is_state(''light.front_room_hue'', ''on''), ''yellow'') }}'
|
|
tap_action:
|
|
action: toggle
|
|
- type: custom:mushroom-template-card
|
|
secondary: '{{states(''input_select.front_room_color_set'')}}'
|
|
entity: input_select.front_room_color_set
|
|
icon: mdi:lightbulb
|
|
icon_color: >-
|
|
{{ iif(is_state('input_boolean.front_room_light_cycle', 'on'),
|
|
'yellow') }}
|
|
tap_action:
|
|
action: call-service
|
|
service: homeassistant.toggle
|
|
service_data: {}
|
|
target:
|
|
entity_id: input_boolean.front_room_light_cycle
|
|
primary: Cycle
|
|
hold_action:
|
|
action: more-info
|
|
- type: vertical-stack
|
|
cards:
|
|
- type: custom:mushroom-title-card
|
|
subtitle: Dining Room
|
|
- type: custom:mushroom-template-card
|
|
primary: Dining Room
|
|
secondary: '{{states(''input_select.dining_room_mode'')}}'
|
|
entity: input_boolean.dining_room_occupied
|
|
icon: mdi:lightbulb
|
|
icon_color: '{{ iif(is_state(''light.dining_room_switch'', ''on''), ''yellow'') }}'
|
|
tap_action:
|
|
action: toggle
|
|
- type: vertical-stack
|
|
cards:
|
|
- type: custom:mushroom-title-card
|
|
subtitle: Kitchen
|
|
- type: custom:mushroom-template-card
|
|
primary: Kitchen
|
|
secondary: '{{states(''input_select.kitchen_mode'')}}'
|
|
entity: input_boolean.kitchen_occupied
|
|
icon: mdi:lightbulb
|
|
icon_color: '{{ iif(is_state(''light.kitchen_hue'', ''on''), ''yellow'') }}'
|
|
tap_action:
|
|
action: toggle
|
|
- type: vertical-stack
|
|
cards:
|
|
- type: custom:mushroom-title-card
|
|
subtitle: Master Bedroom
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-template-card
|
|
primary: Ceiling
|
|
secondary: '{{states(''input_select.master_bedroom_mode'')}}'
|
|
entity: input_boolean.master_bedroom_occupied
|
|
icon: mdi:lightbulb
|
|
icon_color: >-
|
|
{{ iif(is_state('light.master_bedroom_hue', 'on'), 'yellow')
|
|
}}
|
|
tap_action:
|
|
action: toggle
|
|
- type: custom:mushroom-template-card
|
|
primary: Closet
|
|
secondary: '{{states(''light.master_bedroom_closet'')}}'
|
|
entity: light.master_bedroom_closet
|
|
icon: mdi:lightbulb
|
|
icon_color: >-
|
|
{{ iif(is_state('light.master_bedroom_closet', 'on'),
|
|
'yellow') }}
|
|
tap_action:
|
|
action: toggle
|
|
- type: vertical-stack
|
|
cards:
|
|
- type: custom:mushroom-title-card
|
|
subtitle: Master Bathroom
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-template-card
|
|
primary: Master Bathroom
|
|
secondary: '{{states(''input_select.master_bathroom_mode'')}}'
|
|
entity: input_boolean.master_bathroom_occupied
|
|
icon: mdi:lightbulb
|
|
icon_color: >-
|
|
{{ iif(is_state('light.master_bathroom_hue', 'on'), 'yellow')
|
|
}}
|
|
tap_action:
|
|
action: toggle
|
|
- type: custom:mushroom-title-card
|
|
title: Downstairs Lights
|
|
- type: vertical-stack
|
|
cards:
|
|
- type: custom:mushroom-title-card
|
|
subtitle: Computer Area
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-template-card
|
|
primary: Mode
|
|
secondary: '{{states(''input_select.computer_area_mode'')}}'
|
|
entity: input_boolean.computer_area_occupied
|
|
icon: mdi:lightbulb
|
|
icon_color: '{{ iif(is_state(''light.computer_area_hue'', ''on''), ''yellow'') }}'
|
|
tap_action:
|
|
action: toggle
|
|
- type: custom:mushroom-template-card
|
|
secondary: '{{states(''input_select.computer_area_color_set'')}}'
|
|
entity: input_select.computer_area_color_set
|
|
icon: mdi:lightbulb
|
|
icon_color: >-
|
|
{{ iif(is_state('input_boolean.computer_area_light_cycle',
|
|
'on'), 'yellow') }}
|
|
tap_action:
|
|
action: call-service
|
|
service: homeassistant.toggle
|
|
service_data: {}
|
|
target:
|
|
entity_id: input_boolean.computer_area_light_cycle
|
|
primary: Cycle
|
|
hold_action:
|
|
action: more-info
|
|
- type: vertical-stack
|
|
cards:
|
|
- type: custom:mushroom-title-card
|
|
subtitle: Great Room
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-template-card
|
|
primary: Mode
|
|
secondary: '{{states(''input_select.great_room_mode'')}}'
|
|
entity: input_boolean.great_room_occupied
|
|
icon: mdi:lightbulb
|
|
icon_color: '{{ iif(is_state(''light.great_room_hue'', ''on''), ''yellow'') }}'
|
|
tap_action:
|
|
action: toggle
|
|
- type: custom:mushroom-template-card
|
|
secondary: '{{states(''input_select.great_room_color_set'')}}'
|
|
entity: input_select.great_room_color_set
|
|
icon: mdi:lightbulb
|
|
icon_color: >-
|
|
{{ iif(is_state('input_boolean.great_room_light_cycle', 'on'),
|
|
'yellow') }}
|
|
tap_action:
|
|
action: call-service
|
|
service: homeassistant.toggle
|
|
service_data: {}
|
|
target:
|
|
entity_id: input_boolean.great_room_light_cycle
|
|
primary: Cycle
|
|
hold_action:
|
|
action: more-info |