vinteo / hass-opensprinkler

OpenSprinkler Integration for Home Assistant
MIT License
204 stars 40 forks source link

Integration calls 'OpenSprinkler Current Time changed to xxxx' Infinite Loop every 5 seconds #249

Closed johnny-co closed 11 months ago

johnny-co commented 11 months ago

Reviewing the HomeAssistant Logbook in device details for my OSPI OpenSprinkler (Firmware 2.2.0 (2)) a call is being made to set current time every 5 seconds indefinitely.

OpenSprinkler Current Time changed to September 20, 2023 at 8:54 AM 8:54:23 AM - 1 second ago OpenSprinkler Current Time changed to September 20, 2023 at 8:54 AM 8:54:18 AM - 6 seconds ago OpenSprinkler Current Time changed to September 20, 2023 at 8:54 AM 8:54:13 AM - 11 seconds ago OpenSprinkler Current Time changed to September 20, 2023 at 8:54 AM 8:54:08 AM - 16 seconds ago

EdLeckert commented 11 months ago

Yes, it is a bit chatty, as the integration refreshes every 5 seconds.

While we work on a better solution you can disable the entity. Go to Settings\Devices & Services\OpenSprinkler, click on the device. Under the Sensors section click on Current Time, click on the gear icon, turn off Enabled and click Update. The entity will no longer be tracked.

johnny-co commented 11 months ago

Thank you that worked.

vinteo commented 11 months ago

Entity is disabled by default in v1.2.1.