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

Turn on device based on workday, time and temperature

$
0
0

@vazquezjm wrote:

Hi.

I want to turn on a heating panel only if it is a workday, between 6:00 am and 9:00 pm and the temperature is < 22 ºC. Also, I want to turn it off if the temperature is => 22ºC.

I started with this, but not sure how to include the other conditions :confused:

automation:
  alias: Turn on heater on workdays
  trigger:
    platform: time
    at: '06:00:00'
  condition:
    condition: state
    entity_id: 'binary_sensor.workday_sensor'
    state: 'on'
  action:
    service: switch.panel_on
    entity_id: switch.heater

Posts: 3

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 95451

Trending Articles



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