Hirdetés

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

  • koala69

    tag

    Sziasztok - kis segitsegre lenne szuksegem...... megint.

    egy automatizalast szeretnek, ahol a trigger egy cover statuszanak a valtozasa lenne:
    cover:
    - platform: rpi_gpio
    invert_state: true
    covers:
    - relay_pin: 6
    state_pin: 12
    name: "Water Sensor"

    az automatizalas:
    alias: Water Alarm
    description: ''
    trigger:
    - platform: state
    entity_id: cover.water_sensor
    from: open
    to: close
    condition: []
    action:
    - service: notify.alarm
    data:
    message: WATER ON BOARD
    title: WATER
    - type: turn_on
    device_id: b69adf99920e9bbc910712aef06fd864
    entity_id: switch.alarm
    domain: switch
    - delay:
    hours: 0
    minutes: 0
    seconds: 5
    milliseconds: 0
    - type: turn_off
    device_id: b69adf99920e9bbc910712aef06fd864
    entity_id: switch.alarm
    domain: switch
    mode: single

    a cover open/closed - t mutat, ami az automatizalasba irva nem triggerel, mit ronthatok el??
    koszonom!

    [ Szerkesztve ]

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