Skip to content

Ensure sensible_on_value returns list for MONO mode#182

Merged
bbx-a merged 1 commit into
blebox:masterfrom
bkobus-bbx:fix/sensible-on-value-mono-return-type
May 8, 2026
Merged

Ensure sensible_on_value returns list for MONO mode#182
bbx-a merged 1 commit into
blebox:masterfrom
bkobus-bbx:fix/sensible-on-value-mono-return-type

Conversation

@bkobus-bbx
Copy link
Copy Markdown
Contributor

Fix sensible_on_value returning int instead of list/tuple in MONO mode. The async_on method validates that on_value is either a list/tuple or matches off_value's type. For DacBoxD DC, off_value is a string, so the int failed validation and broke the "on" button in Home Assistant.

@bbx-a bbx-a merged commit bc3a78c into blebox:master May 8, 2026
2 checks passed
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.

2 participants