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

Diable blind while door open

$
0
0

@tops wrote:

Hi. I use Ikea blinds. One of them is mounted over my patio door.
I have an automation for closing all blinds at sunset (or at 20:00 if sunset later).
I want to modify the automation to not close the blind over the door, if the door is open.
When the door is closed, the blind should also close. I have a door sensor at the door.
So any idea how to configure this?
I’m not sure if the automation is the right place to put the code in, sine I think the automation will only be triggered once. So maybe it won’t close the blind when door closes.

The automation code right now:

- alias: 'Fyrtur sunset'
  trigger:
    - platform: sun
      event: sunset
      offset: '+00:10:00'
    - platform: time
      at: '20:00:00'    
  action:
    service: cover.close_cover
    entity_id: group.covers_fyrtur

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 95468

Trending Articles



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