Is there a way to have OpenWeatherMap twice, once for current conditions, and another entity for the daily forecast. I am the current conditions as a way to keep my motion lights going for a longer period of time when there is cloud coverage right now:
- alias: Living Room Motion on Cloudy Day
trigger:
platform: state
entity_id: binary_sensor.living_room_motion
to: 'on'
action:
service: switch.turn_on
entity_id: switch.lr_lamp
condition:
condition: and
conditions:
- condition: numeric_state
entity_id: sensor.owm_cloud_coverage
above: 20
- condition: or
conditions:
- condition: sun
after: sunset
after_offset: '-04:40:00'
- condition: sun
before: sunrise
before_offset: '06:25:00'
I would like to create another automation to turn a generic thermostat entity off if the forecast for the day is below a certain temperature, not necessarily just if it gets below a certain temp in the next few hours. Is there a way to create a separate set of entities such as sensor.owm_temperature_forecast
in addition to sensor.owm_temperature?
I have read through the docs for this integration but can’t seem to find a way to pull this off without creating a duplicate entry in the config. There is an option to set it to daily, but I want to keep the 3 hour intervals as well. I am also open to another platform if there is a better one for this.
Thanks and apologies if this has already been asked.