Advertisement
pqpxoxa

Sonoff RF Bridge - 433Mhz PIR Sensors - Automations | Issues since recent HA update (2022.2)

Feb 6th, 2022
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. ##### binary_sensor YAML #####
  2.  
  3. platform: mqtt
  4. state_topic: "tele/tasmota_B29C6A/RESULT"
  5. name: m_1_first_hallway_motion
  6. #friendly_name: First Hallway Motion
  7. value_template: '{{value_json.RfReceived.Data}}'
  8. payload_on: '63044A'
  9. payload_off: '63044Aoff'
  10. device_class: motion
  11. #optimistic: false
  12. qos: 1
  13. #retain: false
  14.  
  15. ##### Automation (to reset) #####
  16.  
  17. alias: 'Reset Ground Hallway PIR '
  18. description: ''
  19. trigger:
  20. - entity_id: binary_sensor.m_0_ground_hallway_motion
  21. for: '0:00:03'
  22. from: 'off'
  23. platform: state
  24. to: 'on'
  25. condition: []
  26. action:
  27. - data:
  28. payload: 0B104Aoff
  29. topic: tele/RF_Bridge/RESULT
  30. service: mqtt.publish
  31. mode: single
  32. initial_state: 'on'
  33.  
  34.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement