Untitled

 avatar
unknown
plain_text
2 years ago
716 B
9
Indexable
- id: 'accendi_pozzo'
  alias: Accendi Shelly Pozzo alle 9:30
  trigger:
  - platform: time
    at: '09:30:00'
  action:
  - service: switch.turn_on
    entity_id: switch.pozzo
  - delay: '00:00:05'
  - choose:
    - conditions:
      - condition: state
        entity_id: switch.pozzo
        state: 'on'
      sequence:
      - service: notify.emanuele
        data:
          message: "Il tuo Shelly Pozzo è stato acceso alle 9:30 del mattino da HA."
    - conditions:
      - condition: state
        entity_id: switch.pozzo
        state: 'off'
      sequence:
      - service: notify.emanuele
        data:
          message: "Attenzione! Il tuo Shelly Pozzo non è stato acceso alle 9:30 del mattino da HA."
Editor is loading...