Hi all,
Hope I’m posting this in the correct place.
I’ve got 2 Nest thermostats (Gen 2 and Gen 3), and I want to use the humidity sensor on it to give me a telegram alert when the humidity is over a certain value.
The telegram bot works for other scripts/automations, so I think that’s fine. The thermostats are providing their humidity information too.
I spent some time looking at another thread for some help, and it got me closer, but still not quite all the way.
My automation looks like this so far, its still a WiP for testing at the moment:
- id: '1560871514053'
alias: humidity - too high
trigger:
- above: '50'
entity_id: sensor.downstairs_thermostat_floor_humidity
platform: numeric_state
value_template: '{{states.sensor.downstairs_thermostat_floor_humidity.state | int }}'
condition: []
action:
- data:
message: The house is too humid!
service: telegram_bot.send_message
Which, if I’m reading it correctly, should get the thermostat to return an integer. However, it doesn’t seem to actually work.
Any ideas would be much appreciated, hoping it’s a simple mistake I’ve made!