Skip to content

fix: automation admin role check#100

Merged
sondresjolyst merged 5 commits intodevelopmentfrom
fix/automationadmin-role-check
Apr 19, 2026
Merged

fix: automation admin role check#100
sondresjolyst merged 5 commits intodevelopmentfrom
fix/automationadmin-role-check

Conversation

@sondresjolyst
Copy link
Copy Markdown
Owner

No description provided.

sondresjolyst and others added 5 commits April 16, 2026 07:59
…ler (#94) (#95)

* fix(switches): whitelist SOCKET type in GET /api/switches

Only return switches with type 'SOCKET'. This excludes SHRGBC light
bulbs and any other unknown device types, keeping the list to
actionable socket devices only.

* fix: replace string.Equals with ToUpper comparison in SwitchesController (#94)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@sondresjolyst sondresjolyst changed the base branch from main to development April 19, 2026 15:55
@sondresjolyst sondresjolyst merged commit 9b2d5e1 into development Apr 19, 2026
3 of 4 checks passed
@sondresjolyst sondresjolyst deleted the fix/automationadmin-role-check branch April 19, 2026 15:56
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