Thanks! Great work. Last_called updates instantly now.
Now that this works, I like to know if it’S necessary to use delays to give it time to update.
- alias: Alexa Routine washing machine
initial_state: 'on'
trigger:
platform: state
entity_id: input_boolean.alexa_routine_wash
to: 'on'
action:
- service: homeassistant.turn_off
entity_id: input_boolean.alexa_routine_wash
- delay: "00:00:02"
- service: alexa_media.update_last_called
- delay: "00:00:01" #not sure about the delays?
- service: homeassistant.turn_on
data_template:
entity_id: >
{% if is_state("binary_sensor.wash_state", "on") %}
script.alexa_routine_wash_on
{% else %}
script.alexa_routine_wash_off
{% endif %}
So what do you think, would it be fast enough to use this without delays?
EDIT: I cant’t finde it know, but there was a thread where two people wanted to use the voiceprofil in alexa and it wasn’t available for german users than. I think it was @ReneTode @lonebaggie and/or @PlayedIn. Am I right?
Voice profiles are now available in german too. (EDIT 2: I probably confuse it with this topic Alexa Announce Feature - Text to Speach via Alexa now a possability?)
Would be interested in what you want or can do with it (together with ha)