nonsleepr / ha-eufy-security

Custom integration of Home Assistant with EufySecurity
168 stars 44 forks source link

Scan Interval Timing #22

Open kbromer opened 3 years ago

kbromer commented 3 years ago

https://github.com/nonsleepr/ha-eufy-security/blob/9d1c44d69b696cf4168b3d80cd38e96fa02969f7/custom_components/eufy_security/__init__.py#L20

Let me start with: thank you for all of the work on this integration, its deeply appreciated and has been working beautifully in HA for me.

Question: In the referenced code, there's a static that determines, I think, the ping to the Eufy API which I'm guessing is used to update the snapshot images when rendered? Either way, noticed HA was just hammering (every 30s obviously...) the Eufy API recently, and was wondering if its possible to surface that as a configurable param in the HA interface?