Skip to content
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

[mqtt.homeassistant] Document which channels a component might have #17618

Merged

Conversation

ccutrer
Copy link
Contributor

@ccutrer ccutrer commented Oct 22, 2024

Also moves JSON attributes channel to AbstractComponent, since every component supports it now (so this commit adds it to the final few components that didn't have it).

And renames the switch channel on a fan to switch instead of fan, matching how light works. Only for newStyleChannels.

Also moves JSON attributes channel to AbstractComponent, since _every_ component
supports it now (so this commit adds it to the final few components that didn't
have it).

And renames the switch channel on a fan to `switch` instead of `fan`, matching
how `light` works. Only for newStyleChannels.

Signed-off-by: Cody Cutrer <[email protected]>
Copy link
Contributor

@lsiepel lsiepel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for refactoring, left some comments. Otherwise LGTM

@lsiepel lsiepel added the enhancement An enhancement or new feature for an existing add-on label Oct 25, 2024
ccutrer and others added 7 commits October 25, 2024 10:35
Co-authored-by: lsiepel <[email protected]>
Signed-off-by: Cody Cutrer <[email protected]>
They get it from AbstractComponent now

Signed-off-by: Cody Cutrer <[email protected]>
Recently merged to main

Signed-off-by: Cody Cutrer <[email protected]>
Recently merged

Signed-off-by: Cody Cutrer <[email protected]>
it's added differently than other components because it's a trigger
channel

Signed-off-by: Cody Cutrer <[email protected]>
@lsiepel lsiepel merged commit f52cede into openhab:main Oct 26, 2024
5 checks passed
@lsiepel lsiepel added this to the 4.3 milestone Oct 26, 2024
@ccutrer ccutrer deleted the mqtt-homeassistant-document-component-channels branch October 26, 2024 17:45
KaaNee pushed a commit to KaaNee/openhab-addons that referenced this pull request Nov 8, 2024
…penhab#17618)

* [mqtt.homeassistant] document which channels a component might have

Signed-off-by: Cody Cutrer <[email protected]>
@jlaur jlaur changed the title [mqtt.homeassistant] document which channels a component might have [mqtt.homeassistant] Document which channels a component might have Nov 11, 2024
matchews pushed a commit to matchews/openhab-addons that referenced this pull request Dec 16, 2024
…penhab#17618)

* [mqtt.homeassistant] document which channels a component might have

Signed-off-by: Cody Cutrer <[email protected]>
cipianpascu pushed a commit to cipianpascu/openhab-addons that referenced this pull request Jan 2, 2025
…penhab#17618)

* [mqtt.homeassistant] document which channels a component might have

Signed-off-by: Cody Cutrer <[email protected]>
Signed-off-by: Ciprian Pascu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement or new feature for an existing add-on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants