Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 99268

Automation: Checking the temperature at one hour and sending a telegram msg

$
0
0

@malpaso68 wrote:

Hello,
Can you help me? I am doing something wrong.
I try to check the temperature (sensor aqara) at one hour, and if the result is less than 20 degrees, it should send a msg telegram (test).

It currently sends the message at the scheduled time, regardless of whether it is above or below 20 degrees.

- id: temp_dormitorio
  alias: Comprobar Temperatura DORMITORIO
  description: Si la temperatura del dormitorio es inferior a 20 grados, envía msg
    por Telegram
  trigger:
   - platform: numeric_state
     entity_id: sensor.temperature_thpdormitorio
     below: 20
   - platform: time
     at: '14:23:00'
  condition: []
  action:
   - service: telegram_bot.send_message
     data:
       message: Prueba

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 99268

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>