Setting one device equal to another in rules

I’m not using that driver either, however another option would be to query the OpenWeatherMap API each hour and set your variable to the context variable for the current temp: $context.response.data.current.temp.

Not the same path to get you there, but another option of setting a variable to the current temp each hour.

You can see how to get the API here: Rules and Expressions with Open Weather API.

1 Like