Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt committed Dec 6, 2023
1 parent 30c81da commit c85bc32
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/entities/homeAssistantHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ export const startup = ({
// Reset 'sendonce' count in case for multiple RGBW lights in a row
if (sendonce >= 5) {
sendonce = 0;
publish_topic = true;
}
// Only publish on first channel for RGBW light mode
if (sendonce >= 1) {
Expand Down

0 comments on commit c85bc32

Please sign in to comment.