Thanks!
the entity camera.ingresso_person
has been renamed image.ingresso_person
Well, that would explain it
1 Like
Starting from today another problem.
This is the automation YML
alias: Alert from Frigate Ingresso
description: Light and Video Alert from Frigate Ingresso
trigger:
- platform: state
entity_id:
- binary_sensor.zone_2_person_occupancy
from: "off"
to: "on"
condition: []
action:
- service: tts.cloud_say
data:
cache: false
entity_id: media_player.cucina
message: >-
Attenzione, un intruso all ingresso. Ripeto, un intruso รจ stato
avvistato all ingresso
- wait_template: "{{ is_state('media_player.cucina','idle') }}"
continue_on_timeout: true
- service: media_player.volume_set
data:
volume_level: 0.7
target:
entity_id: media_player.cucina
- service: media_player.play_media
data:
media_content_id: >
{{ "http://192.168.1.13:8123" + state_attr("image.ingresso_person",
"entity_picture") }}
media_content_type: image/jpeg
target:
entity_id: media_player.cucina
- delay:
hours: 0
minutes: 0
seconds: 10
milliseconds: 0
- wait_template: "{{ is_state('media_player.cucina','idle') }}"
continue_on_timeout: true
- service: media_player.turn_off
data: {}
target:
entity_id: media_player.cucina
- service: tts.clear_cache
data: {}
mode: single
Visually, the image (image.ingresso_person
) remains fixed on my google home screen.
Is like the the remain part of the automation is not working well.
- wait_template: "{{ is_state('media_player.cucina','idle') }}"
continue_on_timeout: true
- service: media_player.turn_off
data: {}
target:
entity_id: media_player.cucina
- service: tts.clear_cache
data: {}
mode: single
Best to check the automation trace and see if it stops somewhere or errors