Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alias: test_activite
- description: ""
- trigger:
- - type: opened
- platform: device
- device_id: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
- entity_id: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
- domain: binary_sensor
- condition:
- - condition: and
- conditions:
- - condition: time
- after: "11:45:00"
- before: "23:59:00"
- weekday:
- - sun
- - mon
- - condition: state
- entity_id: binary_sensor.capteur_d_activite
- state: "off"
- action:
- - service: notify.homeassistant_notifybot
- data:
- message: "\"test du capteur d'acitivité\""
- target:
- - XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
- mode: single
Add Comment
Please, Sign In to add comment