FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Ensure bulb state is restored when turning back on by bdraco · Pull Request #330 · python-kasa/python-kasa · GitHub

Repository navigation

Ensure bulb state is restored when turning back on - #330

Merged
rytilahti merged 2 commits into
python-kasa:masterfrom
bdraco:restore_state_turning_back_on
Apr 5, 2022
Merged

rytilahti merged 2 commits into
python-kasa:masterfrom
bdraco:restore_state_turning_back_on

Conversation

bdraco commented Apr 5, 2022

Copy link
Copy Markdown
Member

bdraco commented Apr 5, 2022

Copy link
Copy Markdown
Member Author

Looks like the CI is broken for unrelated reasons

Copy link
Copy Markdown
Member

CI fix in #331

Comment thread kasa/tests/test_bulb.py Outdated
bdraco force-pushed the restore_state_turning_back_on branch from 25620e4 to fbcf717 Compare April 5, 2022 16:23

bdraco commented Apr 5, 2022

Copy link
Copy Markdown
Member Author

Looks like the CI is passing sans the docs which don't look related to this change

bdraco commented Apr 5, 2022

Copy link
Copy Markdown
Member Author

@rytilahti If this is ok now, I was hoping to get a new release to fix home-assistant/core#69039 before beta is finished up (and before modularize merges).

codecov-commenter commented Apr 5, 2022 •
edited
Loading

Copy link
Copy Markdown

Codecov Report

Merging #330 (fbcf717) into master (a744af4) will increase coverage by 0.03%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #330      +/-   ##
==========================================
+ Coverage   82.34%   82.37%   +0.03%     
==========================================
  Files          13       13              
  Lines        1376     1379       +3     
  Branches      202      203       +1     
==========================================
+ Hits         1133     1136       +3     
  Misses        201      201              
  Partials       42       42              
Impacted Files Coverage Δ
kasa/smartbulb.py 94.44% <100.00%> (+0.10%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a744af4...fbcf717. Read the comment docs.

rytilahti left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Thanks @bdraco, let's merge this and I'll prepare a release immediately before the modularize merge.

rytilahti added the bug Something isn't working label Apr 5, 2022
rytilahti changed the title Ensure state is restored when turning back on Ensure bulb state is restored when turning back on Apr 5, 2022
rytilahti merged commit 766819a into python-kasa:master Apr 5, 2022
rytilahti added a commit to rytilahti/python-kasa that referenced this pull request Apr 5, 2022
This release fixes an issue where the bulb state on led strips was not restored properly when turned back on.

[Full Changelog](python-kasa/python-kasa@0.4.2...0.4.3)

**Fixed bugs:**

- Divide by zero when HS300 powerstrip is discovered [\python-kasa#292](python-kasa#292)
- Ensure bulb state is restored when turning back on [\python-kasa#330](python-kasa#330) (@bdraco)

**Closed issues:**

- KL420L5 controls [\python-kasa#327](python-kasa#327)

**Merged pull requests:**

- Update pre-commit hooks to fix black in CI [\python-kasa#331](python-kasa#331) (@rytilahti)
- Fix test\_deprecated\_type stalling [\python-kasa#325](python-kasa#325) (@bdraco)
rytilahti mentioned this pull request Apr 5, 2022
rytilahti added a commit that referenced this pull request Apr 5, 2022
This release fixes an issue where the bulb state on led strips was not restored properly when turned back on.

[Full Changelog](0.4.2...0.4.3)

**Fixed bugs:**

- Divide by zero when HS300 powerstrip is discovered [\#292](#292)
- Ensure bulb state is restored when turning back on [\#330](#330) (@bdraco)

**Closed issues:**

- KL420L5 controls [\#327](#327)

**Merged pull requests:**

- Update pre-commit hooks to fix black in CI [\#331](#331) (@rytilahti)
- Fix test\_deprecated\_type stalling [\#325](#325) (@bdraco)
pillarsdotnet pushed a commit to pillarsdotnet/python-kasa that referenced this pull request Oct 22, 2026
* Ensure state is restored when turning back on

Fixes home-assistant/core#69039

* Update kasa/tests/test_bulb.py

Co-authored-by: Teemu R. <tpr@iki.fi>

Co-authored-by: Teemu R. <tpr@iki.fi>
pillarsdotnet pushed a commit to pillarsdotnet/python-kasa that referenced this pull request Oct 22, 2026
This release fixes an issue where the bulb state on led strips was not restored properly when turned back on.

[Full Changelog](python-kasa/python-kasa@0.4.2...0.4.3)

**Fixed bugs:**

- Divide by zero when HS300 powerstrip is discovered [\python-kasa#292](python-kasa#292)
- Ensure bulb state is restored when turning back on [\python-kasa#330](python-kasa#330) (@bdraco)

**Closed issues:**

- KL420L5 controls [\python-kasa#327](python-kasa#327)

**Merged pull requests:**

- Update pre-commit hooks to fix black in CI [\python-kasa#331](python-kasa#331) (@rytilahti)
- Fix test\_deprecated\_type stalling [\python-kasa#325](python-kasa#325) (@bdraco)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TPLink Kasa Integration: KL430 - Persistent Effect Behavior

3 participants


Back | FazBrowse Home | New Git URL