Room temperature at a set time trigger Alexa notification

Hope someone can help I want to setup Alexa to notify me if the bedroom temp is greater than 21°c at 20:00 but only if over 21c. I already have Alexa notification setup & am using Tado radiator valves for temperature. The attached just announces on Alexa even if temp is not over 21 thanks

Please copy/paste your automation between ``` 's using the “Edit it in YAML” option found under the meatball menu in the top right corner of the Automation editor so that we don’t have to rewrite your automation.

As it stands, your trigger is set to fire every time the temp goes from below 24 to above 24 (no matter what time it is) and at 17:59 everyday (no matter what the temp is).

Many thanks. Sorry I was doing some testing when I did the screen shot. This is the Yaml.

alias: Bedroom temp Turn on Air con
description: ‘’
trigger:

  • type: temperature
    platform: device
    device_id: e5ff292e5cc2838adbda6e35edf48377
    entity_id: sensor.master_bedroom_temperature
    domain: sensor
    above: 21
  • platform: time
    at: ‘20:00:00’
    condition: []
    action:
  • service: input_text.set_value
    data:
    value: idle
    target:
    entity_id:
    - input_text.air_con
  • service: notify.alexa_media_paul_s_2nd_echo_dot
    data:
    data:
    type: tts
    message: Turn on the Air conditioning
  • service: notify.alexa_media_paul_4_echo_dot
    data:
    data:
    type: tts
    message: 'Turn on the air conditioner ’
    mode: single
alias: Bedroom temp Turn on Air con
description: 
trigger:
  - platform: time
    at: '20:00:00'
condition:
  - condition: numeric_state
    entity_id: sensor.master_bedroom_temperature
    above: 21
action:
  - service: input_text.set_value
    data:
      value: idle
    target:
      entity_id: input_text.air_con
  - service: notify.alexa_media_paul_s_2nd_echo_dot
    data:
      message: Turn on the Air conditioning
      data:
        type: tts
  - service: notify.alexa_media_paul_4_echo_dot
    data:
      message: Turn on the air conditioner
      data:
        type: tts
mode: single

FWIW, you can combine the two notify actions by using a less specific service and providing both Echos as targets:

  - service: notify.alexa_media
    data:
      message: Turn on the air conditioner
      data:
        type: tts
      target: 
        - media_player.paul_4_echo_dot
        - media_player.paul_s_2nd_echo_dot
1 Like

Many thanks for the quick & helpful reply, that worked. I’m learning new things. Thanks again.