Skip to content

Onoff Cluster rework #125

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

Merged
merged 3 commits into from
Nov 14, 2022
Merged

Onoff Cluster rework #125

merged 3 commits into from
Nov 14, 2022

Conversation

Apollon77
Copy link
Collaborator

As discussed ... updated OnOffCLuster with rename including moving the bare minimum implementation into a server

@Apollon77 Apollon77 requested a review from mfucci November 7, 2022 08:55
onOff.set(false);
},
toggle: async ({ attributes: { onOff} }) => {
if (onOff.get()) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes code could be simpler, but for "later" we need the if/else anyway to I left it there :-)

mfucci
mfucci previously approved these changes Nov 8, 2022
@Apollon77 Apollon77 merged commit 43f5188 into mfucci:main Nov 14, 2022
@Apollon77 Apollon77 deleted the onoff-rework branch November 14, 2022 07:44
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.

2 participants