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

  • noorbertt

    őstag

    válasz amargo #22176 üzenetére

    Igen en is erre gondoltam, de ezt a tippet kaptam pont most egy masok forumon:

    alias: Mosquito killer on  after sunset
    description: ''
    trigger:
      - platform: sun
        event: sunset
        offset: '02:00:00'
      - platform: state
      entity_id: person.norbert
        to: home
      - platform: state
        entity_id: person.noemi
        to: home
    condition:
      - condition: sun
        after: sunset
        after_offset: '02:00:00'
      - condition: or
        conditions:
          - condition: state
            entity_id: person.norbert
            state: home
          - condition: state
            entity_id: person.noemi
            state: home
    action:
      - service: switch.turn_on
        data: {}
        entity_id: switch.sonoff_100058c4bb
    mode: single

    Igy elsore jonak tunik, de persze annyira nem ertek hozza meg sajnos

    szerk: leallitani :
    'Mosquito killer off 02:00'
    description: ''
    trigger:
      - platform: time
        at: '02:00:00'
    condition:
      - condition: state
        entity_id: switch.sonoff_100058c4bb
        state: 'on'
    action:
      - service: switch.turn_off
        data: {}
        entity_id: switch.sonoff_100058c4bb
    mode: single

    [ Szerkesztve ]

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