Use outdoor card template for front porch
This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user