Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - alias: wall_panel_activate_on_motion
- initial_state: on
- trigger:
- - platform: state
- entity_id: binary_sensor.aqara_motion_sensor_1
- to: 'on'
- action:
- - service: mqtt.publish
- data:
- topic: 'wallpanel/1/command'
- payload: '{"wake": true, "wakeTime": 180}'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement