Hello
I have the following automation but the initial state of the alexa volume is not recorded to restore it later
Help me thakns
alias: Garaje - Aviso Puerta Abierta (Solo avisa y muestra posibles Acciones)
description: Avisa que la puerta del garaje está abierta pasadas las 20h
trigger:
- platform: state
entity_id: binary_sensor.estado_puerta_garaje
to: 'on'
for:
hours: 0
minutes: 0
seconds: 5
from: 'off'
condition:
- condition: time
after: '20:00'
before: '03:00'
action:
- service: notify.mobile_app_movil_oscar
data:
message: La puerta del garaje esta abierta pasadas las 20h
title: Puerta Garaje Abierta
data:
actions:
- action: CIERRA_PUERTA_GARAJE
title: Cerrar Puerta Garaje
- service: scene.create
data:
snapshot_entities:
- media_player.echo_dot_de_oscar
scene_id: alexa_estado_inicial
- service: media_player.volume_set
data:
volume_level: 1
target:
entity_id:
- media_player.echo_dot_de_oscar
- service: notify.alexa_media
data:
data:
type: tts
message: ' Puerta garaje abierta pasadas las 8 de la tarde'
target:
- media_player.echo_dot_de_oscar
- service: scene.turn_on
target:
entity_id: scene.alexa_estado_inicial
mode: single