feat(cmd): add side-aware targeting and trends telemetry#35
Open
igormf wants to merge 2 commits intosteipete:mainfrom
Open
feat(cmd): add side-aware targeting and trends telemetry#35igormf wants to merge 2 commits intosteipete:mainfrom
igormf wants to merge 2 commits intosteipete:mainfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This is the follow-up feature PR requested in #30 after #24 landed.
It keeps the auth/runtime fixes that merged through #24 on
mainand layers the user-facing targeting improvements on top of the current codebase.What Changed
left,right,all, or an explicit household userstatusreport discovered household targeting mode, including split sides vssoloon,off, andtempdefault to all discovered targets when no side/user is providedUX Notes
Examples supported by this branch:
eightctl statuseightctl oneightctl off --side righteightctl temp -- -40eightctl temp --side left 20eightctl presence --from 2026-04-01 --to 2026-04-07If the household is split, side names are surfaced. If the device is effectively single-zone, commands report
soloand target the single available zone.Verification
go test ./...golangci-lint run ./...Context
mainafter fix(client): use form-urlencoded for OAuth token endpoint #24, fix: update API calls for current Eight Sleep endpoints #31, docs: align README with removed metrics/schedule subcommands #32, fix(cmd): stop travel subcommands clobbering persistent viper keys #33, and fix(cmd): read --date/--from/--to from cobra flags instead of viper #34