Skip to content

Add turnonbehaviormodule for iot#1288

Draft
rytilahti wants to merge 1 commit intomasterfrom
feat/iotbulb_turnonbehavior
Draft

Add turnonbehaviormodule for iot#1288
rytilahti wants to merge 1 commit intomasterfrom
feat/iotbulb_turnonbehavior

Conversation

@rytilahti
Copy link
Copy Markdown
Member

A draft PR used for testing #1285.

== Configuration ==
Turn on hard (turn_on_hard): *BehaviorMode.Last* customize_preset circadian
Turn on soft (turn_on_soft): *BehaviorMode.Last* customize_preset circadian

@rytilahti rytilahti changed the title Migrate TurnOnBehaviours to mashumaro Add turnonbehaviormodule for iot Nov 20, 2024
@rytilahti rytilahti force-pushed the feat/iotbulb_turnonbehavior branch from dbefbe8 to de8710b Compare November 20, 2024 14:36
Comment thread kasa/iot/iotbulb.py
self.add_module(Module.Time, Time(self, "smartlife.iot.common.timesetting"))
self.add_module(
Module.IotTurnOnBehavior,
TurnOnBehaviorModule(self, "smartlife.iot.smartbulb.lightingservice"),
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Named as Module, as TurnOnBehavior is already taken by the model... We probably want to make a breaking change here, and rename the models to something else.

@github-actions
Copy link
Copy Markdown

There hasn't been any activity on this pull request recently. This pull request has been automatically marked as stale because of that and will be closed if no further activity occurs within 7 days.
If you are the author of this PR, please leave a comment if you want to keep it open. Also, please rebase your PR onto the latest dev branch to ensure that it's up to date with the latest changes.
Thank you for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant