-
-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Fix mqtt fan speed range min and max config descriptions #39183
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
Conversation
✅ Deploy Preview for home-assistant-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
📝 WalkthroughWalkthroughThe documentation for the Changes
Sequence Diagram(s)No sequence diagram is generated as the changes are purely documentation updates without any impact on control flow or feature logic. Note ⚡️ AI Code Reviews for VS Code, Cursor, WindsurfCodeRabbit now has a plugin for VS Code, Cursor and Windsurf. This brings AI code reviews directly in the code editor. Each commit is reviewed immediately, finding bugs before the PR is raised. Seamless context handoff to your AI code agent ensures that you can easily incorporate review feedback. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. 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 using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (2)
source/_integrations/fan.mqtt.markdown (2)
296-300
: Clarifypercentage_step
calculation inspeed_range_max
description.The updated description defines
percentage_step
as100
divided by the number of speeds, but readers may be unclear what “number of speeds” refers to. Consider specifying that it’s the count of discrete settings in the inclusive range (i.e.,(speed_range_max - speed_range_min + 1)
) to remove any ambiguity.
301-304
:Polish formatting and clarity in speed_range_min
.The percentage step explanation is now consistent, but:
- For consistency with other percentage mentions, remove the space before
%
(e.g., use0%
).- The parenthetical could be tightened for readability. For example:
“speed_range_min - 1
corresponds to0%
(off not included).”
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
Cache: Disabled due to data retention organization setting
Knowledge Base: Disabled due to data retention organization setting
📒 Files selected for processing (1)
source/_integrations/fan.mqtt.markdown
(1 hunks)
There is an example to explain this on the existing page |
The extra space improves readability IMO |
Hey there @emontnemery, @bdraco, mind taking a look at this feedback as it has been labeled with an integration ( Code owner commandsCode owners of
|
Proposed change
Fix mqtt fan speed range min and max config descriptions.
Type of change
current
branch).current
branch).next
branch).next
branch).Additional information
Checklist
current
branch.next
branch.Summary by CodeRabbit
percentage_step
is calculated forspeed_range_max
andspeed_range_min
options. No changes to functionality.