Skip to content

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

Open
DivineThreepwood wants to merge 6 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 6 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 e4e71de
🔍 Latest deploy log https://app.netlify.com/projects/basecubeone/deploys/69b095dde22b410008cde199

@DivineThreepwood DivineThreepwood added the preview Auto build a docker image and deploy it as a preview version. label Feb 18, 2026
@lhuxohl lhuxohl removed their assignment Mar 10, 2026
@DivineThreepwood DivineThreepwood removed the preview Auto build a docker image and deploy it as a preview version. label Mar 10, 2026
lhuxohl
lhuxohl previously approved these changes Mar 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ColorState comparison fails when comparing with null values

2 participants