From 7e3834194aedc4302b80b6d3875aed86708d5057 Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Wed, 8 Apr 2026 20:49:01 -0400 Subject: [PATCH] Replace front porch card --- main_dashboard.yaml | 310 ++++++++++++++++++++++---------------------- 1 file changed, 157 insertions(+), 153 deletions(-) diff --git a/main_dashboard.yaml b/main_dashboard.yaml index caffe15..3ca30d4 100644 --- a/main_dashboard.yaml +++ b/main_dashboard.yaml @@ -3353,167 +3353,167 @@ views: sections: - type: grid cards: - - type: custom:auto-entities - show_empty: false - card: - type: entities - title: Lights on - show_header_toggle: false - state_color: true - filter: - include: - - group: light.outside_lights - exclude: - - state: 'off' - - state: unavailable - sort: - method: friendly_name + - type: custom:streamline-card + template: main_room_header + variables: + - name: Front Porch + - icon: hue:room-outdoors + - power_entity: sensor.front_porch_light_power_sensor + - light_entity: light.front_porch_light + - type: custom:bubble-card + card_type: button + button_type: slider + modules: + - default + - subbutton_below + rows: 1.719 + icon: hue:room-outdoors + tap_action: + action: toggle + double_tap_action: + action: perform-action + perform_action: input_select.select_option + target: + entity_id: input_select.front_porch_scenes + data: + option: Adaptive + hold_action: + action: more-info + sub_button: + main: + - name: Modes + buttons_layout: inline + group: + - entity: switch.front_porch_storm_mode + name: Storm Mode + 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.front_porch_scenes + show_name: true + name: Lights + entity: light.front_porch_light + - type: custom:streamline-card + template: timer_card + variables: + name: Motion Timer + icon: mdi:timer + entity: timer.front_porch_motion_timer visibility: - condition: state - entity: light.outside_lights - state: 'on' - - type: custom:stack-in-card - card_mod: - style: | - ha-card { - overflow: visible !important; - } + entity: timer.downstairs_bathroom_lights_timer + state_not: idle + - 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 + entity: sensor.home_tempest_temperature + columns: 2 + grid_options: + columns: 6 + rows: auto + - type: custom:bubble-card + card_type: button + button_type: state + entity: sensor.home_tempest_illuminance + name: Lux + card_layout: large + columns: 2 + - type: custom:streamline-card + template: state_color_button + variables: + name: Ding + entity: binary_sensor.front_doorbell_ding_mqtt + columns: 2 + color: success-color + grid_options: + columns: 6 + rows: auto + - type: custom:streamline-card + template: state_color_button + variables: + name: Motion + entity: binary_sensor.front_doorbell_motion_mqtt + columns: 2 + color: bubble-accent-color + grid_options: + columns: 6 + rows: auto + - type: custom:expander-card + title: More Settings cards: - - type: custom:mushroom-light-card - icon: hue:room-porch - name: Front Porch - double_tap_action: - action: call-service - service: input_select.select_option - service_data: - option: Adaptive - target: - entity_id: input_select.front_porch_scenes - hold_action: - action: more-info - entity: light.front_porch_light - 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.front_porch_light - states: - 'on': - type: custom:mushroom-template-card - primary: Current Scene - secondary: '{{ states(''input_text.front_porch_selected_scene'') }}' + - type: horizontal-stack + cards: + - type: custom:bubble-card + card_type: button + button_type: switch + sub_button: + main: [] + bottom: [] + entity: switch.adaptive_lighting_front_porch + name: Adaptive Lighting + show_state: true tap_action: - action: none - hold_action: - action: none - double_tap_action: - action: none - layout: vertical - - type: custom:state-switch - entity: light.front_porch_light - states: - 'on': - type: custom:mushroom-template-card - entity: sensor.outside_lights_power_sensor - primary: Power Usage - secondary: '{{ states(''sensor.outside_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.front_porch_motion_timer - sync_issues: ignore - tap_action: - action: none + action: toggle + hold_action: + action: more-info + - type: custom:bubble-card + card_type: button + button_type: switch + sub_button: + main: [] + bottom: [] + entity: switch.adaptive_lighting_sleep_mode_front_porch + name: Night Mode + show_state: true + tap_action: + action: toggle + hold_action: + action: more-info + - type: horizontal-stack + cards: + - type: custom:bubble-card + card_type: button + button_type: switch + sub_button: + main: [] + bottom: [] + entity: input_boolean.delivery_mode + name: Delivery Mode + show_state: true + tap_action: + action: toggle + hold_action: + action: more-info + - type: custom:bubble-card + card_type: button + button_type: switch + sub_button: + main: [] + bottom: [] + entity: input_boolean.holiday_mode + name: Holiday Mode + show_state: true + tap_action: + action: toggle 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.front_porch_motion_timer - type: entities entities: - - entity: input_select.front_porch_scenes - show_header_toggle: false - - type: glance - show_name: true - show_icon: true - show_state: true - state_color: true - entities: - - entity: sensor.home_tempest_temperature - name: Temp - - entity: sensor.home_tempest_illuminance - name: Lux - - type: glance - show_name: true - show_icon: true - show_state: true - state_color: true - entities: - - entity: binary_sensor.front_doorbell_ding_mqtt - name: Ding - - entity: binary_sensor.front_doorbell_motion_mqtt - name: Motion - - entity: sensor.front_doorbell_battery_mqtt - name: Battery - - type: custom:fold-entity-row - head: - type: section - label: More Settings - entities: - - type: custom:paper-buttons-row - buttons: - - entity: switch.adaptive_lighting_front_porch - name: Adaptive Lighting - layout: icon|name_state - state: - case: first - - entity: input_boolean.front_porch_light_on - name: Automation - layout: icon|name_state - state: - case: first - - type: custom:paper-buttons-row - buttons: - - entity: input_boolean.delivery_mode - name: Delivery Mode - layout: icon|name_state - state: - case: first - - entity: input_boolean.holiday_mode - name: Holiday Mode - layout: icon|name_state - state: - case: first - - entity: switch.front_porch_storm_mode - name: Storm Mode - layout: icon|name_state - state: - case: first - entity: input_number.daytime_colortemp_front_porch name: Day Colortemp - entity: input_number.nighttime_colortemp_front_porch @@ -3522,6 +3522,10 @@ views: name: Lux Threshold - entity: input_number.front_porch_motion_off_delay name: Lights Off Delay + icon: mdi:cog + column_span: 1 + background: + opacity: 10 max_columns: 4 cards: [] - title: Housewide