Skip to content

Conversation

ArchaicRider
Copy link

Description

Changed should_update trigger to only trigger twice an hour

Motivation and Context

The current code allows triggers twice in six minutes if the sequence is 0,5,10,15...55 at 0,5,30, & 35 minutes past the hour
Fixes issue #361

How Has This Been Tested?

Change the code on my running system and restarted exactly on the hour. Before the change, four runs an hour, afterwards two runs an hour
Checked by reviewing the logs

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Ensure that should_update only triggers in minutes 1-5 and 31-35 past the hour
dgibbs64 added a commit to dgibbs64/ha-hildebrandglow-dcc that referenced this pull request Apr 4, 2024
BlythMeister added a commit to BlythMeister/ha-hildebrandglow-dcc that referenced this pull request Dec 18, 2024
root0x added a commit to root0x/ha-hildebrandglow-dcc that referenced this pull request Dec 29, 2024
barberio added a commit to barberio/ha-hildebrandglow-dcc that referenced this pull request Feb 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant