Skip to content

docs: document blinds API based on real-device testing#18

Open
mattiash wants to merge 1 commit into
lpgera:mainfrom
mattiash:document-blinds
Open

docs: document blinds API based on real-device testing#18
mattiash wants to merge 1 commit into
lpgera:mainfrom
mattiash:document-blinds

Conversation

@mattiash
Copy link
Copy Markdown

Summary

  • Remove "Not tested, feedback required." notice from the blinds section
  • Document blindsTargetLevel scale: 0 = fully up (open), 100 = fully down (closed)
  • Document setState behavior: the blind stops automatically and sets state to stopped when it reaches level 0 or 100
  • Add inline comments on get response attributes (blindsCurrentLevel, blindsTargetLevel, blindsState, batteryPercentage)
  • Note that setCurrentLevel is not supported by the hub (returns an API error)

Test plan

Tested against a real IKEA DIRIGERA hub with an IKEA FYRTUR block-out roller blind:

  • list — returns all blinds devices
  • get — returns device with correct attributes and types
  • setTargetLevel — moves blind to specified level and stops
  • setState — starts continuous movement; blind stops automatically at level 0 or 100
  • setCurrentLevel — not supported by hub, returns "attributes" does not match any of the allowed types

🤖 Generated with Claude Code

- Remove "Not tested, feedback required." notice
- Document blindsTargetLevel scale (0 = fully up, 100 = fully down)
- Document setState behavior (stops automatically at level 0 or 100)
- Add inline comments on get response attributes
- Note that setCurrentLevel is not supported by the hub

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.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.

1 participant