Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ##### binary_sensor YAML #####
- platform: mqtt
- state_topic: "tele/tasmota_B29C6A/RESULT"
- name: m_1_first_hallway_motion
- #friendly_name: First Hallway Motion
- value_template: '{{value_json.RfReceived.Data}}'
- payload_on: '63044A'
- payload_off: '63044Aoff'
- device_class: motion
- #optimistic: false
- qos: 1
- #retain: false
- ##### Automation (to reset) #####
- alias: 'Reset Ground Hallway PIR '
- description: ''
- trigger:
- - entity_id: binary_sensor.m_0_ground_hallway_motion
- for: '0:00:03'
- from: 'off'
- platform: state
- to: 'on'
- condition: []
- action:
- - data:
- payload: 0B104Aoff
- topic: tele/RF_Bridge/RESULT
- service: mqtt.publish
- mode: single
- initial_state: 'on'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement