dear all,
I added the open-meteo integration.
the information I get is as the following:
developer tools / attributes:
temperature: 16.2
wind_bearing: 47
wind_speed: 6
forecast:
- datetime: '2022-05-03'
condition: cloudy
precipitation: 0.04
temperature: 17.3
templow: 8
wind_bearing: 93
wind_speed: 9.8
- datetime: '2022-05-04'
condition: lightning
precipitation: 0.82
temperature: 16.9
templow: 9.2
wind_bearing: 247
wind_speed: 24.7
I get the rain forecast from today with the following:
{{state_attr('weather.open_meteo','forecast')[0].precipitation}}
Result type: number
0.04
Now I want to have an automation with this value as condition and I do not know what to enter to get the attributes value.
- condition: numeric_state
entity_id:
below: '1'
Can somebody give me a hint how the condition has to look like?
thanks a lot!
1 post - 1 participant