@Drewgy, I know this thread is kind of old but I just faced the same issue and solved it using some template sensors. I found this as I was being lazy and tried to find template configuration in the forum to save me 5min going through the documentation…lol
Here is how to transform Nest Doorbell events into binary sensors using template sensors. Just include the text bellow in your configuration.yaml
, replacing <replace by your device id>
by your device id.
# Templates
template:
# Front Door Motion
- trigger:
- platform: event
event_type: nest_event
event_data:
device_id: <replace by your device id>
type: camera_motion
- platform: event
event_type: nest_event
event_data:
device_id: <replace by your device id>
type: person_detected
- platform: event
event_type: nest_event
event_data:
device_id: <replace by your device id>
type: doorbell_chime
binary_sensor:
- name: "Front Door Motion Sensor"
device_class: motion
auto_off: 60
state: "on"
#Front Door Doorbell
- trigger:
- platform: event
event_type: nest_event
event_data:
device_id: <replace by your device id>
type: doorbell_chime
binary_sensor:
- name: "Front Door Doorbell"
auto_off: 15
state: "true"