diff --git a/main_dashboard.yaml b/main_dashboard.yaml index b01bac1..52c467f 100644 --- a/main_dashboard.yaml +++ b/main_dashboard.yaml @@ -248,6 +248,54 @@ streamline_templates: entity: '[[power_entity]]' show_state: true state_background: false + timer_card: + defaults: + - name: '' + - icon: mdi:timer + card: + type: custom:bubble-card + card_type: button + button_type: state + entity: '[[entity]]' + name: '[[name]]' + icon: '[[icon]]' + sub_button: + - entity: '[[entity]]' + tap_action: + action: perform-action + perform_action: timer.start + target: + entity_id: '[[entity]]' + name: Start + icon: mdi:play + visibility: [] + - entity: '[[entity]]' + name: Pause + icon: mdi:pause + tap_action: + action: perform-action + perform_action: timer.pause + target: + entity_id: '[[entity]]' + - entity: '[[entity]]' + name: Cancel + icon: mdi:cancel + tap_action: + action: perform-action + perform_action: timer.cancel + target: + entity_id: '[[entity]]' + - entity: '[[entity]]' + name: Finish + icon: mdi:clock-end + tap_action: + action: perform-action + perform_action: timer.finish + target: + entity_id: '[[entity]]' + modules: + - default + - popup_timer_card background: var(--background-image) title: Stratton Ave views: @@ -776,903 +824,6 @@ views: path: first-floor icon: mdi:home-floor-1 type: sections - sections: - - type: grid - cards: - - type: custom:auto-entities - show_empty: false - card: - type: entities - show_header_toggle: false - state_color: true - title: Lights On - filter: - include: - - group: light.first_floor_lights - - entity_id: light.living_room_christmas_tree - exclude: - - state: 'off' - - state: unavailable - sort: - method: friendly_name - visibility: - - condition: state - entity: light.first_floor_lights - state: 'on' - - type: grid - cards: - - type: custom:stack-in-card - card_mod: - style: | - ha-card { - overflow: visible !important; - } - cards: - - type: custom:mushroom-light-card - icon: hue:room-living - name: Living Room - double_tap_action: - action: call-service - service: input_select.select_option - service_data: - option: Adaptive - target: - entity_id: input_select.living_room_scenes - hold_action: - action: more-info - entity: light.living_room_lights - use_light_color: true - show_brightness_control: true - show_color_temp_control: true - show_color_control: true - collapsible_controls: true - fill_container: false - layout: vertical - - type: custom:state-switch - entity: light.living_room_lights - states: - 'on': - type: custom:mushroom-template-card - primary: Current Scene - secondary: '{{ states(''input_text.living_room_selected_scene'') }}' - tap_action: - action: none - hold_action: - action: none - double_tap_action: - action: none - layout: vertical - - type: custom:mushroom-template-card - entity: sensor.living_room_total_power_sensor - primary: Power Usage - secondary: '{{ states(''sensor.living_room_total_power_sensor'') }} W' - tap_action: - action: more-info - hold_action: - action: none - double_tap_action: - action: none - layout: vertical - - type: custom:timer-bar-card - filter: true - entities: - - entity: timer.living_room_motion_timer - sync_issues: ignore - tap_action: - action: none - hold_action: - action: more-info - double_tap_action: - action: none - layout: hide_name - modifications: - - elapsed: 40% - bar_foreground: orange - - elapsed: 80% - bar_foreground: red - extend_paper_buttons_row: - position: right - buttons: - - icon: mdi:check-circle - tap_action: - action: call-service - service: timer.finish - target: - entity_id: timer.living_room_motion_timer - - type: entities - entities: - - type: custom:paper-buttons-row - buttons: - - entity: light.living_room_overhead - name: Overhead - layout: icon|name_state - state: - case: first - state_icons: - 'on': hue:ceiling-devere - 'off': hue:ceiling-devere-off - unavailable: mdi:map-marker-question - - entity: light.living_room_led_strip - name: LED Strip - layout: icon|name_state - state: - case: first - state_icons: - 'on': hue:lightstrip - 'off': hue:lightstrip-off - unavailable: mdi:map-marker-question - - type: entities - entities: - - entity: input_select.living_room_scenes - - entity: select.living_room_led_strip_theme - name: LED Strip Theme - show_header_toggle: false - - type: glance - show_name: true - show_icon: true - show_state: true - state_color: true - entities: - - entity: binary_sensor.front_door - - entity: binary_sensor.front_window_1 - name: FW1 - - entity: binary_sensor.front_window_2 - name: FW2 - - entity: binary_sensor.front_window_3 - name: FW3 - - type: glance - show_name: true - show_icon: true - show_state: true - state_color: true - entities: - - entity: binary_sensor.side_window_1 - name: SW1 - - entity: binary_sensor.side_window_2 - name: SW2 - - entity: binary_sensor.side_window_3 - name: SW3 - - entity: binary_sensor.side_window_4 - name: SW4 - - type: glance - show_name: true - show_icon: true - show_state: true - state_color: true - entities: - - entity: binary_sensor.back_window_1 - name: BW1 - - entity: binary_sensor.back_window_2 - name: BW2 - - type: glance - show_name: true - show_icon: true - show_state: true - state_color: true - entities: - - entity: sensor.living_room_front_temperature - name: Temp - - entity: sensor.living_room_front_illuminance - name: Light - - entity: binary_sensor.living_room_front_motion - name: Motion - - entity: binary_sensor.living_room_occupied - name: Occupied - - type: custom:fold-entity-row - head: - type: section - label: More Settings - entities: - - type: custom:paper-buttons-row - buttons: - - entity: switch.adaptive_lighting_living_room - name: Adaptive Lighting - layout: icon|name_state - state: - case: first - - entity: switch.adaptive_lighting_sleep_mode_living_room - name: Night Mode - layout: icon|name_state - state: - case: first - - type: custom:paper-buttons-row - buttons: - - entity: input_boolean.living_room_dynamic_scenes - name: Dynamic Scenes - layout: icon|name_state - state_icons: - 'on': mdi:animation - 'off': mdi:animation-outline - state: - case: first - - entity: input_boolean.living_room_entertainment_control - name: Media Scenes - layout: icon|name_state - state_icons: - 'on': mdi:television-ambient-light - 'off': mdi:television-off - state: - case: first - - type: custom:paper-buttons-row - buttons: - - entity: switch.adaptive_lighting_adapt_color_living_room - name: Adapt Color - layout: icon|name_state - state: - case: first - - entity: switch.adaptive_lighting_adapt_brightness_living_room - name: Adapt Brightness - layout: icon|name_state - state: - case: first - - entity: switch.living_room_motion_lighting - name: Motion Lighting - - entity: input_number.daytime_colortemp_living_room - name: Day Colortemp - - entity: input_number.nighttime_colortemp_living_room - name: Night Colortemp - - entity: input_number.nighttime_brightness_living_room - name: Night Brightness - - entity: input_number.living_room_lights_off_delay - name: Lights Off Delay - secondary_info: Only used at night - - entity: input_number.living_room_lux_threshold - name: Lux Threshold - - entity: binary_sensor.living_room_sync_issue - name: Sync Issue - - entity: script.emma_rainbow_lights - name: Emma Rainbow - - type: grid - cards: - - type: custom:stack-in-card - card_mod: - style: | - ha-card { - overflow: visible !important; - } - cards: - - type: custom:mushroom-light-card - entity: light.downstairs_bathroom_lights - double_tap_action: - action: call-service - service: input_select.select_option - service_data: - option: Adaptive - target: - entity_id: input_select.downstairs_bathroom_scenes - name: Downstairs Bathroom - icon: mdi:toilet - layout: vertical - show_brightness_control: true - collapsible_controls: true - - type: custom:state-switch - entity: light.downstairs_bathroom_lights - states: - 'on': - type: custom:mushroom-template-card - primary: Current Scene - secondary: >- - {{ states('input_text.downstairs_bathroom_selected_scene') - }} - tap_action: - action: none - hold_action: - action: none - double_tap_action: - action: none - layout: vertical - - type: custom:state-switch - entity: light.downstairs_bathroom_lights - states: - 'on': - type: custom:mushroom-template-card - entity: sensor.downstairs_bathroom_lights_power_sensor - primary: Power Usage - secondary: >- - {{ - states('sensor.downstairs_bathroom_lights_power_sensor') - }} W - tap_action: - action: more-info - hold_action: - action: none - double_tap_action: - action: none - layout: vertical - - type: custom:timer-bar-card - filter: true - entities: - - entity: timer.downstairs_bathroom_lights_timer - sync_issues: ignore - tap_action: - action: none - hold_action: - action: more-info - double_tap_action: - action: none - layout: hide_name - modifications: - - elapsed: 40% - bar_foreground: orange - - elapsed: 80% - bar_foreground: red - extend_paper_buttons_row: - position: right - buttons: - - icon: mdi:check-circle - tap_action: - action: call-service - service: timer.finish - target: - entity_id: timer.downstairs_bathroom_lights_timer - - type: entities - entities: - - type: custom:paper-buttons-row - base_config: - state_styles: - idle: - name: - color: white - icon: - color: white - state: - color: white - ripple: - color: purple - active: - button: - background-color: var(--primary-color) - name: - color: white - icon: - color: white - state: - color: white - ripple: - color: purple - buttons: - - entity: timer.washer_timer - name: Washer - layout: icon|name_state - state: - case: first - state_text: - idle: 'Off' - active: Active - state_icons: - idle: mdi:washing-machine-off - active: mdi:washing-machine - unavailable: mdi:map-marker-question - tap_action: - action: fire-dom-event - browser_mod: - service: browser_mod.popup - data: - content: - type: custom:stack-in-card - cards: - - type: entities - title: Washer Controls - entities: - - entity: input_number.washer_cycle_length - name: Cycle Length - - entity: input_datetime.washer_finished - name: Finished At - - entity: input_boolean.washer_finished - name: Cycle Finished - secondary_info: Turn off after collecting laundry - - type: custom:timer-bar-card - filter: true - show_empty: The washer is not currently running - entities: - - entity: timer.washer_timer - sync_issues: ignore - tap_action: - action: none - hold_action: - action: more-info - double_tap_action: - action: none - layout: hide_name - modifications: - - elapsed: 40% - bar_foreground: orange - - elapsed: 80% - bar_foreground: red - - type: custom:stack-in-card - mode: horizontal - cards: - - type: custom:button-card - entity: timer.washer_timer - name: [] - show_label: true - aspect_ratio: 2.7/1 - styles: - card: - - '--mdc-ripple-color': purple - - '--mdc-ripple-press-opacity': 0.5 - state: - - value: active - label: Running - icon: mdi:play - styles: - icon: - - color: green - - value: paused - label: Paused - icon: mdi:pause - styles: - icon: - - color: yellow - - value: idle - label: Start - icon: mdi:play - tap_action: - action: call-service - service: button.press - service_data: - entity_id: button.washer_start - hold_action: - action: more-info - entity: timer.washer_timer - - type: custom:button-card - entity: timer.washer_timer - name: [] - icon: mdi:cancel - label: Cancel - show_label: true - aspect_ratio: 2.7/1 - styles: - card: - - '--mdc-ripple-color': purple - - '--mdc-ripple-press-opacity': 0.5 - state: - - value: active - styles: - icon: - - color: green - - value: paused - styles: - icon: - - color: yellow - - value: idle - tap_action: - action: call-service - service: button.press - service_data: - entity_id: button.washer_cancel - hold_action: - action: more-info - entity: timer.washer_timer - - entity: timer.dryer_timer - name: Dryer - layout: icon|name_state - state: - case: first - state_text: - idle: 'Off' - active: Active - state_icons: - idle: mdi:tumble-dryer-off - active: mdi:tumble-dryer - unavailable: mdi:map-marker-question - tap_action: - action: fire-dom-event - browser_mod: - service: browser_mod.popup - data: - content: - type: custom:stack-in-card - cards: - - type: entities - title: Dryer Controls - entities: - - entity: input_number.dryer_cycle_length - name: Cycle Length - - entity: input_datetime.dryer_finished - name: Finished At - - entity: input_boolean.dryer_finished - name: Cycle Finished - secondary_info: Turn off after collecting laundry - - type: custom:timer-bar-card - filter: true - show_empty: The dryer is not currently running - entities: - - entity: timer.dryer_timer - sync_issues: ignore - tap_action: - action: none - hold_action: - action: more-info - double_tap_action: - action: none - layout: hide_name - modifications: - - elapsed: 40% - bar_foreground: orange - - elapsed: 80% - bar_foreground: red - - type: custom:stack-in-card - mode: horizontal - cards: - - type: custom:button-card - entity: timer.dryer_timer - name: [] - show_label: true - aspect_ratio: 2.7/1 - styles: - card: - - '--mdc-ripple-color': purple - - '--mdc-ripple-press-opacity': 0.5 - state: - - value: active - label: Running - icon: mdi:play - styles: - icon: - - color: green - - value: paused - label: Paused - icon: mdi:pause - styles: - icon: - - color: yellow - - value: idle - label: Start - icon: mdi:play - tap_action: - action: call-service - service: button.press - service_data: - entity_id: button.dryer_start - hold_action: - action: more-info - entity: timer.dryer_timer - - type: custom:button-card - entity: timer.dryer_timer - name: [] - icon: mdi:cancel - label: Cancel - show_label: true - aspect_ratio: 2.7/1 - styles: - card: - - '--mdc-ripple-color': purple - - '--mdc-ripple-press-opacity': 0.5 - state: - - value: active - styles: - icon: - - color: green - - value: paused - styles: - icon: - - color: yellow - - value: idle - tap_action: - action: call-service - service: button.press - service_data: - entity_id: button.dryer_cancel - hold_action: - action: more-info - entity: timer.dryer_timer - - type: entities - entities: - - entity: input_select.downstairs_bathroom_scenes - - type: glance - show_name: true - show_icon: true - show_state: true - state_color: true - entities: - - entity: binary_sensor.downstairs_bathroom_window_1 - name: Back - - entity: binary_sensor.downstairs_bathroom_window_2 - name: Side - - type: glance - show_name: true - show_icon: true - show_state: true - state_color: true - entities: - - entity: sensor.downstairs_bathroom_temperature - name: Temp - - entity: sensor.downstairs_bathroom_illuminance - name: Light - - entity: binary_sensor.downstairs_bathroom_motion - name: Motion - - entity: binary_sensor.downstairs_bathroom_occupied - name: Occupied - - type: custom:fold-entity-row - head: - type: section - label: More Settings - entities: - - type: custom:paper-buttons-row - buttons: - - entity: switch.adaptive_lighting_downstairs_bathroom - name: Adaptive Lighting - layout: icon|name_state - state: - case: first - - entity: >- - switch.adaptive_lighting_sleep_mode_downstairs_bathroom - name: Night Mode - layout: icon|name_state - state: - case: first - - entity: switch.downstairs_bathroom_motion_lighting - name: Motion Lighting - - entity: input_number.nighttime_brightness_downstairs_bathroom - name: Night Brightness - - entity: input_number.downstairs_bathroom_lights_off_delay - name: Lights Off Delay - - entity: input_number.downstairs_bathroom_lux_threshold - name: Lux Threshold - show_header_toggle: false - - type: grid - cards: - - type: custom:stack-in-card - card_mod: - style: | - ha-card { - overflow: visible !important; - } - cards: - - type: custom:mushroom-light-card - entity: light.tina_desk_lights - name: Tina Desk - double_tap_action: - action: call-service - service: input_select.select_option - service_data: - entity_id: input_select.tina_desk_scenes - option: Reset - icon: mdi:floor-lamp - layout: vertical - use_light_color: true - show_brightness_control: true - show_color_temp_control: true - show_color_control: true - collapsible_controls: true - - type: custom:state-switch - entity: light.tina_desk_lights - states: - 'on': - type: custom:mushroom-template-card - primary: Current Scene - secondary: '{{ states(''input_text.tina_desk_selected_scene'') }}' - tap_action: - action: none - hold_action: - action: none - double_tap_action: - action: none - layout: vertical - - type: custom:mushroom-template-card - entity: sensor.kallen_bedroom_lights_power_sensor - primary: Power Usage - secondary: '{{ states(''sensor.tina_desk_total_power_sensor'') }} W' - tap_action: - action: more-info - hold_action: - action: none - double_tap_action: - action: none - layout: vertical - - type: entities - entities: - - type: custom:paper-buttons-row - buttons: - - entity: light.tina_lamp_top - name: Top - layout: icon|name_state - state: - case: first - state_icons: - 'on': hue:floor-shade - 'off': hue:floor-shade-off - unavailable: mdi:map-marker-question - - entity: light.tina_lamp_side - name: Side - layout: icon|name_state - state: - case: first - state_icons: - 'on': hue:floor-shade - 'off': hue:floor-shade-off - unavailable: mdi:map-marker-question - - entity: input_select.tina_desk_scenes - name: Tina Desk Scenes - - entity: input_select.tina_lamp_scenes - name: Tina Lamp Scenes - - type: glance - show_name: true - show_icon: true - show_state: true - state_color: true - entities: - - entity: binary_sensor.tina_desk_occupied - name: Occupied - - type: custom:fold-entity-row - head: - type: section - label: More Settings - entities: - - type: custom:paper-buttons-row - buttons: - - entity: switch.adaptive_lighting_tina_lamp - name: Adaptive Lighting (Lamp) - layout: icon|name_state - state: - case: first - - entity: switch.adaptive_lighting_sleep_mode_tina_lamp - name: Night Mode (Lamp) - layout: icon|name_state - state: - case: first - - entity: input_number.daytime_colortemp_tina_lamp - name: Day Colortemp - - entity: input_number.nighttime_colortemp_tina_lamp - name: Night Colortemp - - entity: input_number.nighttime_brightness_tina_lamp - name: Night Brightness - - type: grid - cards: - - type: custom:stack-in-card - card_mod: - style: | - ha-card { - overflow: visible !important; - } - cards: - - type: glance - title: Kitchen Card - Placeholder - show_name: true - show_icon: true - show_state: true - state_color: true - entities: - - entity: binary_sensor.kitchen_big_window - name: Main - - entity: binary_sensor.kitchen_sink_window - name: Sink - - type: grid - cards: - - type: custom:stack-in-card - card_mod: - style: | - ha-card { - overflow: visible !important; - } - cards: - - type: custom:mushroom-light-card - entity: light.mud_room_overhead - name: Mud Room - double_tap_action: - action: call-service - service: input_select.select_option - service_data: - option: Adaptive - target: - entity_id: input_select.mud_room_scenes - icon: hue:room-other - layout: vertical - show_brightness_control: true - collapsible_controls: true - - type: custom:state-switch - entity: light.mud_room_overhead - states: - 'on': - type: custom:mushroom-template-card - primary: Current Scene - secondary: '{{ states(''input_text.mud_room_selected_scene'') }}' - tap_action: - action: none - hold_action: - action: none - double_tap_action: - action: none - layout: vertical - - type: custom:state-switch - entity: light.mud_room_overhead - states: - 'on': - type: custom:mushroom-template-card - entity: sensor.mud_room_overhead_power_sensor - primary: Power Usage - secondary: '{{ states(''sensor.mud_room_overhead_power_sensor'') }} W' - tap_action: - action: more-info - hold_action: - action: none - double_tap_action: - action: none - layout: vertical - - type: custom:timer-bar-card - filter: true - entities: - - entity: timer.mud_room_motion_timer - sync_issues: ignore - tap_action: - action: none - hold_action: - action: more-info - double_tap_action: - action: none - layout: hide_name - modifications: - - elapsed: 40% - bar_foreground: orange - - elapsed: 80% - bar_foreground: red - extend_paper_buttons_row: - position: right - buttons: - - icon: mdi:check-circle - tap_action: - action: call-service - service: timer.finish - target: - entity_id: timer.mud_room_motion_timer - - type: entities - entities: - - entity: input_select.mud_room_scenes - show_header_toggle: false - - type: glance - show_name: true - show_icon: true - show_state: true - state_color: true - entities: - - entity: binary_sensor.back_door - - entity: binary_sensor.mud_room_window - - type: glance - show_name: true - show_icon: true - show_state: true - state_color: true - entities: - - entity: sensor.mud_room_temperature - name: Temp - - entity: sensor.mud_room_illuminance - name: Lux - - entity: binary_sensor.mud_room_motion - name: Motion - - entity: binary_sensor.mud_room_occupied - name: Occupied - - type: custom:fold-entity-row - head: - type: section - label: More Settings - entities: - - type: custom:paper-buttons-row - buttons: - - entity: switch.adaptive_lighting_mud_room - name: Adaptive Lighting - layout: icon|name_state - state: - case: first - - entity: switch.adaptive_lighting_sleep_mode_mud_room - name: Night Mode - layout: icon|name_state - state: - case: first - - entity: switch.mud_room_motion_lighting - name: Motion Lighting - - entity: input_number.nighttime_brightness_mud_room - name: Night Brightness - - entity: input_number.mud_room_lights_off_delay - name: Lights Off Delay - - entity: input_number.mud_room_lux_threshold - name: Lux Threshold - max_columns: 4 - cards: [] - - title: First Floor Sections - path: first-floor-sections - icon: mdi:home-floor-1 - type: sections sections: - type: grid cards: @@ -1715,7 +866,7 @@ views: - default - subbutton_below entity: light.living_room_lights - rows: '2' + rows: 2.406 icon: hue:room-living tap_action: action: toggle @@ -1729,31 +880,47 @@ views: hold_action: action: more-info sub_button: - - entity: light.living_room_overhead - tap_action: - action: toggle - hold_action: - action: more-info - show_name: true - name: Overhead - - entity: light.living_room_led_strip - name: LED Strip - icon: hue:lightstrip - show_name: true - tap_action: - action: toggle - hold_action: - action: more-info - - entity: select.living_room_led_strip_theme - name: LED Strip Scene - icon: hue:lightstrip - visibility: - - condition: state - entity: light.living_room_led_strip - state: 'on' - - entity: input_select.living_room_scenes - name: Scene - icon: mdi:palette + main: + - name: Lights + buttons_layout: inline + group: + - entity: light.living_room_overhead + tap_action: + action: toggle + hold_action: + action: more-info + show_name: true + name: Overhead + - entity: light.living_room_led_strip + name: LED Strip + icon: hue:lightstrip + show_name: true + tap_action: + action: toggle + hold_action: + action: more-info + bottom: + - name: Smaller Buttons + group: + - entity: select.living_room_led_strip_theme + name: LED Strip Theme + icon: hue:lightstrip + sub_button_type: select + fill_width: false + show_name: true + - entity: script.emma_rainbow_lights + name: Emma Rainbow Lights + fill_width: false + show_name: true + justify_content: space-between + - name: Scene + group: + - entity: input_select.living_room_scenes + name: Scene + icon: mdi:palette + sub_button_type: select + show_name: true + bottom_layout: rows name: Lights - type: custom:bubble-card card_type: separator @@ -1762,18 +929,15 @@ views: card_layout: large - type: custom:bubble-card card_type: media-player - entity: media_player.living_room_tv name: TV show_state: true show_last_changed: false show_attribute: true attribute: app_id force_icon: false - hide: - play_pause_button: false - volume_button: false - power_button: false card_layout: large + entity: media_player.living_room_tv_3 + cover_background: true - type: custom:bubble-card card_type: separator name: Status @@ -1839,27 +1003,16 @@ views: grid_options: columns: 4 rows: auto - - type: custom:timer-bar-card - filter: true - entities: - - entity: timer.living_room_motion_timer - name: Motion Timer - sync_issues: ignore - tap_action: - action: call-service - service: timer.finish - target: - entity_id: timer.living_room_motion_timer - hold_action: - action: more-info - double_tap_action: - action: none - modifications: - - elapsed: 40% - bar_foreground: orange - - elapsed: 80% - bar_foreground: red - compressed: true + - type: custom:streamline-card + template: timer_card + variables: + entity: timer.living_room_motion_timer + name: Motion Timer + icon: mdi:timer + visibility: + - condition: state + entity: timer.living_room_motion_timer + state_not: idle - type: custom:bubble-card card_type: separator name: Security @@ -2009,6 +1162,9 @@ views: name: Sync Issue - entity: script.emma_rainbow_lights name: Emma Rainbow + column_span: 1 + background: + opacity: 20 - type: grid cards: - type: custom:streamline-card @@ -2020,35 +1176,37 @@ views: - power_entity: sensor.downstairs_bathroom_lights_power_sensor - light_entity: light.downstairs_bathroom_lights - type: custom:bubble-card - card_type: separator - name: Lights - icon: mdi:lightbulb - card_layout: large + card_type: button + button_type: slider + modules: + - default + - subbutton_below + rows: 1.719 + icon: mdi:toilet + tap_action: + action: toggle + double_tap_action: + action: perform-action + perform_action: input_select.select_option + target: + entity_id: input_select.living_room_scenes + data: + option: Adaptive + hold_action: + action: more-info sub_button: - - entity: input_select.downstairs_bathroom_scenes - name: Scenes - show_name: true - - type: horizontal-stack - cards: - - type: custom:mushroom-light-card - entity: light.downstairs_bathroom_lights - name: Lights - icon: mdi:toilet - fill_container: true - use_light_color: true - show_brightness_control: true - show_color_temp_control: true - show_color_control: true - collapsible_controls: true - double_tap_action: - action: call-service - service: input_select.select_option - service_data: - option: Adaptive - target: - entity_id: input_select.downstairs_bathroom_scenes - primary_info: none - layout: vertical + main: [] + bottom: + - name: Scene + buttons_layout: inline + group: + - name: Scene + icon: mdi:palette + sub_button_type: select + entity: input_select.downstairs_bathroom_scenes + show_name: true + name: Lights + entity: light.downstairs_bathroom_lights - type: custom:bubble-card card_type: separator name: Laundry @@ -2133,29 +1291,16 @@ views: grid_options: columns: 6 rows: auto - - type: custom:timer-bar-card - filter: true - entities: - - entity: timer.downstairs_bathroom_lights_timer - name: Motion Timer - sync_issues: ignore - tap_action: - action: call-service - service: timer.finish - target: - entity_id: timer.downstairs_bathroom_lights_timer - hold_action: - action: more-info - double_tap_action: - action: none - modifications: - - elapsed: 40% - bar_foreground: orange - - elapsed: 80% - bar_foreground: red - compressed: true - - type: horizontal-stack - cards: [] + - type: custom:streamline-card + template: timer_card + variables: + name: Lights Timer + icon: mdi:timer + entity: timer.downstairs_bathroom_lights_timer + visibility: + - condition: state + entity: timer.downstairs_bathroom_lights_timer + state_not: idle - type: custom:fold-entity-row head: type: section @@ -2182,276 +1327,279 @@ views: - entity: input_number.downstairs_bathroom_lux_threshold name: Lux Threshold show_header_toggle: false + column_span: 1 + background: + opacity: 20 - type: grid cards: - - type: custom:stack-in-card - card_mod: - style: | - ha-card { - overflow: visible !important; - } - cards: - - type: custom:mushroom-light-card - entity: light.tina_desk_lights - name: Tina Desk - tap_action: - action: call-service - service: input_boolean.toggle - service_data: - entity_id: input_boolean.tina_desk_lights - double_tap_action: - action: call-service - service: input_select.select_option - service_data: - entity_id: input_select.tina_desk_scenes - option: Reset - hold_action: - action: more-info - icon: mdi:floor-lamp - layout: vertical - use_light_color: true - show_brightness_control: true - show_color_temp_control: true - show_color_control: true - collapsible_controls: true - - type: custom:state-switch - entity: light.tina_desk_lights - states: - 'on': - type: custom:mushroom-template-card - primary: Current Scene - secondary: '{{ states(''input_text.tina_desk_selected_scene'') }}' - tap_action: - action: none - hold_action: - action: none - double_tap_action: - action: none - layout: vertical - - type: custom:mushroom-template-card - entity: sensor.kallen_bedroom_lights_power_sensor - primary: Power Usage - secondary: '{{ states(''sensor.tina_desk_total_power_sensor'') }} W' - tap_action: - action: more-info - hold_action: - action: none - double_tap_action: - action: none - layout: vertical - - type: entities - entities: - - type: custom:paper-buttons-row - buttons: - - entity: light.tina_lamp_top - name: Top - layout: icon|name_state - state: - case: first - state_icons: - 'on': hue:floor-shade - 'off': hue:floor-shade-off - unavailable: mdi:map-marker-question - - entity: light.tina_lamp_side - name: Side - layout: icon|name_state - state: - case: first - state_icons: - 'on': hue:floor-shade - 'off': hue:floor-shade-off - unavailable: mdi:map-marker-question - - entity: light.tina_desk_strip - name: Strip - layout: icon|name_state - state: - case: first - state_icons: - 'on': hue:lightstrip - 'off': hue:lightstrip-off - unavailable: mdi:map-marker-question - icon: mdi:led-strip - - entity: input_select.tina_desk_scenes - name: Tina Desk Scenes - - entity: input_select.tina_lamp_scenes - name: Tina Lamp Scenes - - type: glance - show_name: true - show_icon: true - show_state: true - state_color: true - entities: - - entity: binary_sensor.tina_desk_occupied - name: Occupied - - type: custom:fold-entity-row - head: - type: section - label: More Settings - entities: - - type: custom:paper-buttons-row - buttons: - - entity: switch.adaptive_lighting_tina_lamp - name: Adaptive Lighting (Lamp) - layout: icon|name_state - state: - case: first - - entity: switch.adaptive_lighting_sleep_mode_tina_lamp - name: Night Mode (Lamp) - layout: icon|name_state - state: - case: first - - entity: input_number.daytime_colortemp_tina_lamp - name: Day Colortemp - - entity: input_number.nighttime_colortemp_tina_lamp - name: Night Colortemp - - entity: input_number.nighttime_brightness_tina_lamp - name: Night Brightness - - type: grid - cards: - - type: custom:stack-in-card - card_mod: - style: | - ha-card { - overflow: visible !important; - } - cards: - - type: glance - title: Kitchen Card - Placeholder - show_name: true - show_icon: true - show_state: true - state_color: true - entities: - - entity: binary_sensor.kitchen_big_window - - type: grid - cards: - - type: custom:stack-in-card - card_mod: - style: | - ha-card { - overflow: visible !important; - } - cards: - - type: custom:mushroom-light-card - entity: light.mud_room_overhead - name: Mud Room - double_tap_action: - action: call-service - service: input_select.select_option - service_data: - option: Adaptive - target: - entity_id: input_select.mud_room_scenes - icon: hue:room-other - layout: vertical - show_brightness_control: true - collapsible_controls: true - - type: custom:state-switch - entity: light.mud_room_overhead - states: - 'on': - type: custom:mushroom-template-card - primary: Current Scene - secondary: '{{ states(''input_text.mud_room_selected_scene'') }}' - tap_action: - action: none - hold_action: - action: none - double_tap_action: - action: none - layout: vertical - - type: custom:state-switch - entity: light.mud_room_overhead - states: - 'on': - type: custom:mushroom-template-card - entity: sensor.mud_room_overhead_power_sensor - primary: Power Usage - secondary: '{{ states(''sensor.mud_room_overhead_power_sensor'') }} W' - tap_action: - action: more-info - hold_action: - action: none - double_tap_action: - action: none - layout: vertical - - type: custom:timer-bar-card - filter: true - entities: - - entity: timer.mud_room_motion_timer - sync_issues: ignore - tap_action: - action: none - hold_action: - action: more-info - double_tap_action: - action: none - layout: hide_name - modifications: - - elapsed: 40% - bar_foreground: orange - - elapsed: 80% - bar_foreground: red - extend_paper_buttons_row: - position: right - buttons: - - icon: mdi:check-circle + - type: custom:streamline-card + template: main_room_header + variables: + name: Tina Desk + icon: mdi:desk + scene_text: input_text.downstairs_bathroom_selected_scene + light_entity: light.tina_desk_lights + power_entity: sensor.tina_desk_total_power_sensor + - type: custom:bubble-card + card_type: button + button_type: slider + modules: + - default + - subbutton_below + rows: 1.719 + icon: mdi:desk + tap_action: + action: toggle + double_tap_action: + action: perform-action + perform_action: input_select.select_option + target: + entity_id: input_select.living_room_scenes + data: + option: Adaptive + hold_action: + action: more-info + sub_button: + main: + - name: Lights + buttons_layout: inline + group: + - entity: light.tina_lamp_top + name: Lamp Top + icon: mdi:floor-lamp-dual + show_name: true tap_action: - action: call-service - service: timer.finish - target: - entity_id: timer.mud_room_motion_timer - - type: entities - entities: - - entity: input_select.mud_room_scenes - show_header_toggle: false - - type: glance - show_name: true - show_icon: true - show_state: true - state_color: true - entities: - - entity: binary_sensor.back_door - - entity: binary_sensor.mud_room_window - - type: glance - show_name: true - show_icon: true - show_state: true - state_color: true - entities: - - entity: sensor.mud_room_temperature - name: Temp - - entity: sensor.mud_room_illuminance - name: Lux - - entity: binary_sensor.mud_room_motion - name: Motion - - entity: binary_sensor.mud_room_occupied - name: Occupied - - type: custom:fold-entity-row - head: - type: section - label: More Settings - entities: - - type: custom:paper-buttons-row - buttons: - - entity: switch.adaptive_lighting_mud_room - name: Adaptive Lighting - layout: icon|name_state - state: - case: first - - entity: switch.adaptive_lighting_sleep_mode_mud_room - name: Night Mode - layout: icon|name_state - state: - case: first - - entity: switch.mud_room_motion_lighting - name: Motion Lighting - - entity: input_number.nighttime_brightness_mud_room - name: Night Brightness - - entity: input_number.mud_room_lights_off_delay - name: Lights Off Delay - - entity: input_number.mud_room_lux_threshold - name: Lux Threshold + action: toggle + hold_action: + action: more-info + - entity: light.tina_lamp_side + name: Lamp Side + icon: mdi:floor-lamp-dual + show_name: true + tap_action: + action: toggle + hold_action: + action: more-info + bottom: + - name: Scene + buttons_layout: inline + group: + - name: Scene + icon: mdi:palette + sub_button_type: select + entity: input_select.tina_desk_scenes + show_name: true + name: Lights + entity: light.tina_desk_lights + - type: custom:bubble-card + card_type: separator + name: Status + icon: mdi:list-box + card_layout: large + - type: custom:streamline-card + template: main_accent_color_button + variables: + name: Occupied + columns: 2 + entity: binary_sensor.tina_desk_occupied + grid_options: + columns: 6 + rows: auto + - type: custom:fold-entity-row + head: + type: section + label: More Settings + entities: + - type: custom:paper-buttons-row + buttons: + - entity: switch.adaptive_lighting_tina_lamp + name: Adaptive Lighting (Lamp) + layout: icon|name_state + state: + case: first + - entity: switch.adaptive_lighting_sleep_mode_tina_lamp + name: Night Mode (Lamp) + layout: icon|name_state + state: + case: first + - entity: input_number.daytime_colortemp_tina_lamp + name: Day Colortemp + - entity: input_number.nighttime_colortemp_tina_lamp + name: Night Colortemp + - entity: input_number.nighttime_brightness_tina_lamp + name: Night Brightness + column_span: 1 + background: + opacity: 20 + - type: grid + cards: + - type: custom:bubble-card + card_type: separator + sub_button: + main: [] + bottom: [] + name: Kitchen + icon: hue:room-kitchen + - type: custom:bubble-card + card_type: separator + name: Security + icon: mdi:security + card_layout: large + - type: custom:streamline-card + template: main_security_button + variables: + name: Big + entity: binary_sensor.kitchen_big_window + grid_options: + columns: 6 + rows: auto + - type: custom:streamline-card + template: main_security_button + variables: + name: Sink + entity: binary_sensor.kitchen_sink_window + grid_options: + columns: 6 + rows: auto + column_span: 1 + background: + opacity: 20 + - type: grid + cards: + - type: custom:streamline-card + template: main_room_header + variables: + name: Mud Room + scene_text: input_text.mud_room_selected_scene + light_entity: light.mud_room_overhead + power_entity: sensor.mud_room_overhead_power_sensor + icon: hue:room-other + - type: custom:bubble-card + card_type: button + button_type: slider + modules: + - default + - subbutton_below + rows: 1.719 + icon: '' + tap_action: + action: toggle + double_tap_action: + action: perform-action + perform_action: input_select.select_option + target: + entity_id: input_select.living_room_scenes + data: + option: Adaptive + hold_action: + action: more-info + sub_button: + main: [] + bottom: + - name: Scene + buttons_layout: inline + group: + - name: Scene + icon: mdi:palette + sub_button_type: select + show_name: true + entity: input_select.mud_room_scenes + name: Lights + entity: light.mud_room_overhead + - type: custom:bubble-card + card_type: separator + name: Status + icon: mdi:list-box + card_layout: large + - type: custom:streamline-card + template: main_temperature_button + variables: + name: Temp + columns: 2 + entity: sensor.mud_room_temperature + hot_entity: binary_sensor.mud_room_hot + grid_options: + columns: 6 + rows: auto + - type: custom:bubble-card + card_type: button + button_type: state + name: Lux + card_layout: large + columns: 2 + sub_button: + main: [] + bottom: [] + entity: sensor.mud_room_illuminance + - type: custom:streamline-card + template: main_accent_color_button + variables: + name: Motion + columns: 2 + entity: binary_sensor.mud_room_motion + grid_options: + columns: 6 + rows: auto + - type: custom:streamline-card + template: main_accent_color_button + variables: + name: Occupied + columns: 2 + entity: binary_sensor.mud_room_occupied + grid_options: + columns: 6 + rows: auto + - type: custom:bubble-card + card_type: separator + name: Security + icon: mdi:security + card_layout: large + - type: custom:streamline-card + template: main_security_button + variables: + name: Back Door + columns: 2 + entity: binary_sensor.back_door + grid_options: + columns: 6 + rows: auto + - type: custom:streamline-card + template: main_security_button + variables: + name: Window + columns: 2 + entity: binary_sensor.mud_room_window + grid_options: + columns: 6 + rows: auto + - type: custom:fold-entity-row + head: + type: section + label: More Settings + entities: + - type: custom:paper-buttons-row + buttons: + - entity: switch.adaptive_lighting_mud_room + name: Adaptive Lighting + layout: icon|name_state + state: + case: first + - entity: switch.adaptive_lighting_sleep_mode_mud_room + name: Night Mode + layout: icon|name_state + state: + case: first + - entity: switch.mud_room_motion_lighting + name: Motion Lighting + - entity: input_number.nighttime_brightness_mud_room + name: Night Brightness + - entity: input_number.mud_room_lights_off_delay + name: Lights Off Delay + - entity: input_number.mud_room_lux_threshold + name: Lux Threshold + column_span: 1 + background: + opacity: 20 max_columns: 4 cards: [] visible: