From 76311304ba2ea07656c41275eb57287c2cb15760 Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Thu, 15 May 2025 06:17:11 -0400 Subject: [PATCH] Use outdoor card template for front porch --- mobile_dashboard.yaml | 43 +++++++++---------------------------------- 1 file changed, 9 insertions(+), 34 deletions(-) diff --git a/mobile_dashboard.yaml b/mobile_dashboard.yaml index 0428e49..71ec1ea 100644 --- a/mobile_dashboard.yaml +++ b/mobile_dashboard.yaml @@ -940,40 +940,15 @@ views: - icon: hue:room-outdoors - power_entity: sensor.outside_lights_power_sensor - lights_entity: light.outside_lights - - type: custom:bubble-card - card_type: button - button_type: state - entity: binary_sensor.front_doorbell_motion_mqtt - name: Front Porch - icon: hue:room-porch - show_state: false - double_tap_action: - action: none - hold_action: - action: none - button_action: - double_tap_action: - action: none - hold_action: - action: none - tap_action: - action: navigate - navigation_path: '#front-porch' - styles: |- - .is-unavailable { - opacity: 0.5 !important; - } - .bubble-button-background { - opacity: 1 !important; - background-color: ${state === 'on' ? 'var(--accent-color)' : 'var(--bubble-main-background-color)'} !important; - transition: background-color 1s !important; - } - tap_action: - action: navigate - navigation_path: '#front-porch' - sub_button: [] - modules: - - default + - type: custom:streamline-card + template: main_button_outdoors + variables: + - name: Front Porch + - icon: hue:room-porch + - navigation_path: '#front-porch' + - occupancy_entity: binary_sensor.front_doorbell_motion_mqtt + - temp_entity: sensor.home_tempest_temperature + - lux_entity: sensor.home_tempest_illuminance - type: custom:streamline-card template: floors_separator variables: