Scene: New weather trigger

I would like to be able to create scenes:

  • if wind speed > 20 km/h, close the shutters
  • if full sun AND wind speed < 20 km/h, open the shutters, open the pool
  • if storm, close some shutters, check the windows, close the pool, notify me
  • if rain, turn off the sprinklers
  • if frost, notify me

I saw in another post about AI and weather that you could retrieve weather data: it would be great to have this data in a « device » that could serve as a trigger

Hi, that’s not what I had in mind. Here, we’re going to make a weather-specific trigger!

To properly understand the difference between a « trigger » and a « device », is the following true?
A trigger can only be used in the « trigger » block.

A device can be used in the « trigger » block (device state change),
but also in the « condition » block (« condition on variable » with the value « get last state »)
and also in all formulas for calculations on this retrieved variable
and also in the display of the « device » widget

Yes!

But if you want us to create a scene condition, that can be something too :slight_smile: You’ll need to create another request in that case!

ok, I’ll create the feature request for the conditions, but I think it would be great to have a weather device with all the features!

Hi everyone!

This topic is now under development.

A PR has been opened to add a dedicated weather scene trigger:

Don’t hesitate to follow the PR, test as soon as possible, and share your feedback here.

This feature is now available directly in the integrations, no need to go through the core anymore! :tada:

For example, the Météo-France integration now implements its own triggers :slightly_smiling_face:

I’m closing this topic.