-
Notifications
You must be signed in to change notification settings - Fork 836
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
Cosmetic replace 'fan_only' string #1604
Cosmetic replace 'fan_only' string #1604
Conversation
The reason "Fan_Only" is used, instead of "Fan Only" is because Google Home + Home Assistant use that keyword. We should add a note to this affect and possibly think of adding "Fan Only" as an addition. |
Now in code used string in lower case ('fan_only'). If we cannot use "Fan Only" string, may be better to use "Fan_Only" string (capitalized)? |
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.
We will probably not merge this, but instead we should just try to add documentation to fan_only
to explain why it is as it is.
However let me take the opportunity to say that if we where to consider this PR then it must be without the changes to doxygen, since that is generated and merged during release process, if any changes is made directly to the files we are more likely to get unnecessary merge conflicts during the release process.
The string gets used without depending on case. Line 3080 in 5cd13df
E.g. So, I don't think we really need this PR. The only reason "only" is included is to handle systems that use it for some bizarre reason. |
55822a4
to
6a035ff
Compare
The main reason, why I proposed this PR is better visual perception of log records in web console in Tasmota. |
I removed all my changes in doxygen |
* Improve compatiblity and human clarity. * Add note about why it exists in the first place. Replaces PR #1604
Closing as I've reworked it as PR #1610 |
* Improve compatiblity and human clarity. * Add note about why it exists in the first place. Replaces PR #1604
Hi
This is cosmetic fix, that replace string 'fan_only' to 'Fan Only', for better visual consistency