Closed FaserF closed 2 years ago
a better solution would be to force a refresh only on startup/setup/every monday night at 00:00
Custom update interval option has been removed, as the products won’t change within 7 days a sync every day should be enough.
Describe the bug Right now the sensors will refresh every 30 seconds, no matter what interval has been provided at the setup.
To Reproduce Steps to reproduce the behavior:
Go to add integration Add rewe discounts Define a custom interval Have a look at the sensor attribute at "last updated" Expected behavior The custom refresh interval should be working.
Version Details
Homeassistant Version: 2022.08.06 Rewe Integration Version: 1.0.0
Additional context Also see https://github.com/FaserF/ha-foodsharing/issues/3 - same issue