Skip to content

Bugfix/154 colorstate comparison fails when comparing with null values#155

Open
DivineThreepwood wants to merge 3 commits intodevfrom
bugfix/154-colorstate-comparison-fails-when-comparing-with-null-values
Open

Bugfix/154 colorstate comparison fails when comparing with null values#155
DivineThreepwood wants to merge 3 commits intodevfrom
bugfix/154-colorstate-comparison-fails-when-comparing-with-null-values

Conversation

@DivineThreepwood
Copy link
Member

📜 Description

Changes proposed in this pull request:

  • fix color state equals check
    • fix home assistant initial color lamp sync issue between hass and bco with it..
  • handle hue values 0 and 360 as equals
  • implement tests to prove implementation

✅ Checklist:

  • Created tests which fail without the change

@DivineThreepwood DivineThreepwood linked an issue Feb 18, 2026 that may be closed by this pull request
@netlify
Copy link

netlify bot commented Feb 18, 2026

Deploy Preview for basecubeone canceled.

Name Link
🔨 Latest commit 3ad5f9f
🔍 Latest deploy log https://app.netlify.com/projects/basecubeone/deploys/6996383313e4fb000788a09e

@DivineThreepwood DivineThreepwood added the preview Auto build a docker image and deploy it as a preview version. label Feb 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

preview Auto build a docker image and deploy it as a preview version. ready to review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ColorState comparison fails when comparing with null values

2 participants

Comments