Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95459

Don't open all windows if rain

$
0
0

@linde wrote:

hi,
i have 4 windows, one controlled by xiaomi contact and rain sensor, when raining closed the windows and contact is off, send automation for closed all window(3), but i have other automation timer, open 3 windows 8:00 o’clock, the window with rain sensor is open all day, only closed if rain.
i am looking for some automation for don’t open the 3 windows 8:00 o’clock if the windows rain sensor is closed.
this is my automation

- id: ventanas 8:00
  alias: ventanas 8:00 abre
  trigger:
  - at: 08:00:00
    platform: time
  - entity_id: binary_sensor.oficinaventana_contact
    platform: state
    to: 'off'
  action:
  - data: {}
    entity_id: script.amanecer
    service: script.toggle

but dont working, some help and sorry my english
thanks

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 95459

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>