I cannot get triggers to work. I have tried multiple ways, including Overrides. Nothing is changing the view from Image to Live View. I can tap the Live View button and it works, and I can make the Default the Live View and that also works.
Heres’ one set of example code…
type: vertical-stack
cards:
- type: custom:advanced-camera-card
cameras:
- camera_entity: camera.front_door_live_view
view:
default: image
image:
refresh_seconds: 60
refresh_mode: interval
default_reset:
entities:
- binary_sensor.front_entry_motion_sensor_occupancy
- event.front_door_motion
overrides:
- conditions:
- condition: state
entity: binary_sensor.front_entry_motion_sensor_occupancy
state: "on"
merge:
view:
default: live
- conditions:
- condition: state
entity: event.front_door_motion
state: "on"
merge:
view:
default: live
menu:
style: overlay
position: right
card_mod:
style: |
ha-card {
border-bottom-left-radius: 0px !important;
border-bottom-right-radius: 0px !important;
box-shadow: none !important;
}
type: vertical-stack
cards:
- type: custom:advanced-camera-card
cameras:
- camera_entity: camera.front_door_live_view
view:
default: image
image:
refresh_seconds: 60
refresh_mode: interval
# Official method for triggering live view
triggers:
entities:
- binary_sensor.front_entry_motion_sensor_occupancy
- event.front_door_motion
actions:
trigger: live
untrigger: default
menu:
style: overlay
position: right
card_mod:
style: |
ha-card {
border-bottom-left-radius: 0px !important;
border-bottom-right-radius: 0px !important;
box-shadow: none !important;
}