Hirdetés

2024. május 10., péntek

Gyorskeresés

Téma összefoglaló

Téma összefoglaló

  • Utoljára frissítve: 2023-12-13 05:08:33

LOGOUT.hu

Okos Otthon összefoglaló

Összefoglaló kinyitása ▼

Hozzászólások

(#18019) Rolly


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 ]

Copyright © 2000-2024 PROHARDVER Informatikai Kft.