Skip to content

feat(bridge): devices list --domain filter CLI - #160

Open
samuelpatak-png wants to merge 1 commit into
mergeos-bounties:masterfrom
samuelpatak-png:feat/issue-89-devices-list-domain
Open

feat(bridge): devices list --domain filter CLI#160
samuelpatak-png wants to merge 1 commit into
mergeos-bounties:masterfrom
samuelpatak-png:feat/issue-89-devices-list-domain

Conversation

@samuelpatak-png

Copy link
Copy Markdown

Summary

  • hiri-bridge devices list --domain sensor (and -d) filters the registry by Home Assistant domain
  • Case-insensitive matching; title shows active domain; shown=N summary
  • Table prints device state only (not attributes), so tokens/PINs stay out of CLI output
  • Unit + CLI tests in tests/test_devices_list_domain.py

Test plan

  • pytest packages/bridge/tests/test_devices_list_domain.py (6 passed)
  • Full bridge suite green
  • Manual: devices list --domain sensor and devices list -d Light

Fixes #89

Made with Cursor

Add case-insensitive domain filtering for hiri-bridge devices list
(e.g. --domain sensor), keep attributes/tokens out of table output,
and cover the filter with unit + CLI tests.

Fixes mergeos-bounties#89

Co-authored-by: Cursor <cursoragent@cursor.com>
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.

[50 MRG] Bridge: devices filter --domain CLI (list by domain)

2 participants