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

Add conditions to an automation

$
0
0

@karansoi wrote:

This is my automation to start a pump when the float sensor turns on

-
    id: 'Check Water Level In Overhead tank'
    alias:  'Time To start Pump'
    trigger:
        platform:   state
        entity_id:  binary_sensor.ohtank_level_low
        from:   'off'
        to: 'on'
    action:
        service:    switch.turn_on
        entity_id:  switch.ohtank_pump

I want this automation to work in the following two conditions
1…Time is after 06:00:00 or
2 …Time is after 18:00:00

How do I add these conditions?
Appreciate help on this

Best Regards…

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 102973

Trending Articles



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