If it is exactly 20s delay every time, that would sound very strange to me.
I am guessing it is some delay between 5s and 20s.
In that case, that would be a polling interval: homeassistant polling the state of the doorbell in “the cloud”.
Or something similar, like a rate limitation on the side of the cloud provider.
I personally do not use any of theses cloud services, I keep my stuff local.
If switching to a local doorbell is not an option, a cludge may be using a microphone sensor placed close to the ringer.
As an alternative to a microphone, monitoring the ringers power consumption would be a good indication of activity. But for a battery-operated device that is usually a bit tricky.
Commercially available sensors for “home automation” are usually very limited - because product designers have no ideas? Or more likely: because marketing does not see large quantities for anything but a pushbutton…
But pushbutton-sensors are usually hackable:
measure the button type (active low/high)
desolder the button
provide the “button” signal from another source
(search for Arduino sensor kit on your favorite online market platform).
Found that, but what should I see? When I press the doorbell I don’t see anything change or get updated at the entities. Also, the logbook for the doorbell device is empty.
I am having the same issue but the notification takes ~23s (from Google Home the same noti is only ~3s). As I understand it, the JSON payload from the nest integration is only received once it has finished downloading the video and/or image from the cloud. Perhaps it’s this download delay that we’re seeing? Is it possible to turn off the video posting to potentially speed things up?
Actually, theory perhaps debunked, as under Integrations > Nest > Doorbell > Logbook I see the event.front_door_doorbell_chime trigger at the same time as Goole Home. If I set up my trigger based on this
triggers:
- trigger: state
entity_id:
- event.front_door_doorbell_chime
I get the notification immediately. However, I cannot seem to access the video payload from this event for some reason, so I cannot display a thumbnail in the phone push notification
I had the same situation as you, i went looking in the logs of the entity itself, and indeed, the event was triggered at the same time as the actual google home notification.