-
-
Notifications
You must be signed in to change notification settings - Fork 28.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Matter fan platform #111212
Add Matter fan platform #111212
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
Hey there @home-assistant/matter, mind taking a look at this pull request as it has been labeled with an integration ( Code owner commandsCode owners of
|
@balloob |
@balloob Is it possible to access the homeassistant/components/matter directory from the web interface's file editor? |
As discussed I'm working on completing this PR for you. Because of some unfortunate other issues that had higher prio this didn't make it into the may release of HA but it will 100% be in the next one. Thanks for the patience. |
Thanks |
Init commit for MatterFan
Add Mock Fan device
Draft for testing Matter fan
Rebase from Matter switch (draft)
PR refactored + docs PR added
@coderabbitai review |
WalkthroughThe changes introduce Matter Fan platform support to Home Assistant, allowing users to control Matter-compatible fans. This includes adding a new Changes
Sequence Diagram(s) (Beta)sequenceDiagram
participant User
participant HomeAssistant
participant MatterFan
participant MatterDevice
User->>HomeAssistant: Turn on Fan
HomeAssistant->>MatterFan: async_turn_on()
MatterFan->>MatterDevice: Send Turn On Command
MatterDevice-->>MatterFan: Acknowledge Turn On
MatterFan-->>HomeAssistant: Update State to On
HomeAssistant-->>User: Fan is On
User->>HomeAssistant: Set Fan Speed to 50%
HomeAssistant->>MatterFan: async_set_percentage(50)
MatterFan->>MatterDevice: Send Speed Command (50%)
MatterDevice-->>MatterFan: Acknowledge Speed Change
MatterFan-->>HomeAssistant: Update Speed to 50%
HomeAssistant-->>User: Fan Speed Set to 50%
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
Proposed change
Add Fan platform to Matter integration.
Type of change
Additional information
Checklist
ruff format homeassistant tests
)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest
.requirements_all.txt
.Updated by running
python3 -m script.gen_requirements_all
..coveragerc
.To help with the load of incoming pull requests: