Új hozzászólás Aktív témák

  • Rolly

    veterán

    sziasztok, home assistant automation szivat erősen :( nem jövök rá mi a hiba:

    szerkesztés: közben rájöttem, hogy a fájl névben _ jel helyett - jelet használtam .... :)

    automation:
    - alias: Switch On Garage fan
      trigger:
        - platform: template
          value_template: "{{ states('sensor.temperature_158d0002789609') > states('sensor.netatmo_home_weather_outdoor_temperature') }}"
        - platform: template
          value_template: "{{ states('sensor.humidity_158d0002789609') | int > 65 }}"
      condition:
        - condition: state
          entity_id: switch.garage_fan_switch
          state: 'off'
        - condition: template
          value_template: "{{ states('sensor.temperature_158d0002789609') | int > 23 }}"
      action:
        - service: switch.turn_on
          entity_id: switch.garage_fan_switch

    - alias: Switch automate off Garage fan
      trigger:
        platform: state
        entity_id:
          - switch.garage_fan_switch
        from: 'off'
        to: 'on'
        for:
          hours: 0
          minutes: 60
          seconds: 0  
      action:
        - service: switch.turn_off
          entity_id: switch.garage_fan_switch

    [ Szerkesztve ]

Új hozzászólás Aktív témák