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

Input_number as condition

$
0
0

@lawrencez wrote:

Is it possible to use an input number as a condition.

For example (but this does not pass validation!):

  • id: Turn Heater on
    alias: Turn Heater on
    initial_state: True
    trigger:
    • platform: time
      at: ‘04:30:00’
      condition:
    • condition: numeric_state
      entity_id: sensor.front_bedroom_temperature
      below: input_number.heater_temp_set
    • condition: time
      weekday:
      • mon
      • tue
      • wed
      • thu
      • fri
        action:
    • service: switch.turn_on
      entity_id:
      • switch.central_heating

Posts: 8

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 95390

Trending Articles



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