Keresés

Hirdetés

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

  • vampire17

    addikt

    válasz huliganboy #16854 üzenetére

    Nalam igy nez ki az auto ki/be kapcs:

    - id: '1586365865894'
      alias: Riasztó automatikus működés + értesítés - Be
      description: ''
      trigger:
    - entity_id: person.norbi
        from: home
        platform: state
        to: not_home
    - entity_id: person.barbi
        from: home
        platform: state
        to: not_home
      condition:
      - condition: and
        conditions:
        - condition: state
        entity_id: person.norbi
          state: not_home
        - condition: state
        entity_id: person.barbi
          state: not_home
      action:
      - data: {}
        entity_id: switch.xiaomi_gateway_alarm
        service: switch.turn_on
      - data:
          message: A riasztó bekapcsolva.
          title: Riasztó állapotváltozás
        service: notify.csoport
    - id: '1586366718619'
      alias: Riasztó automatikus működés + értesítés - Ki
      description: ''
      trigger:
    - entity_id: person.norbi
        from: not_home
        platform: state
        to: home
    - entity_id: person.barbi
        from: not_home
        platform: state
        to: home
      condition:
      - condition: or
        conditions:
        - condition: state
        entity_id: person.norbi
          state: home
        - condition: state
        entity_id: person.barbi
          state: home
      action:
      - data: {}
        entity_id: switch.xiaomi_gateway_alarm
        service: switch.turn_off
      - data:
          message: A riasztó kikapcsolva.
          title: Riasztó állapotváltozás
        service: notify.csoport

  • Degeczi

    nagyúr

    válasz huliganboy #16854 üzenetére

    Ha nincs kiváltó esemény megadva, nincs mire trriggerelni (=beindítani). A feltétel már csak egy szűrő, mikor mégse fusson le az automatizálás.

    A person entity-k state változása már használható, de riasztóhoz nagyon nem célszerű! Biztonsági szempontból sem, meg kényelmetlenségiből sem, h pl. beindul a riasztó csak mert lekapcsolt, leesett a hálózatról a telefon.

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