-
-
Notifications
You must be signed in to change notification settings - Fork 223
Comparing changes
Open a pull request
base repository: python-kasa/python-kasa
base: 0.4.1
head repository: python-kasa/python-kasa
compare: 0.4.2
- 13 commits
- 20 files changed
- 4 contributors
Commits on Jan 14, 2022
-
Configuration menu - View commit details
-
Copy full SHA for bcb9fe1 - Browse repository at this point
Copy the full SHA bcb9fe1View commit details
Commits on Jan 29, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 6a31de5 - Browse repository at this point
Copy the full SHA 6a31de5View commit details -
Added a fixture file for KS220M (#273)
* Added motion and light sensor for KS220M * Added fixture file for ks220m * Remove dump_devinfo and add the extra queries to devtools/dump_devinfo * Test KS220M as a dimmer * Add empty modules to baseproto to make the tests pass Co-authored-by: mrbetta <bettale@gmail.com> Co-authored-by: Teemu Rytilahti <tpr@iki.fi>
Configuration menu - View commit details
-
Copy full SHA for 5bf6fda - Browse repository at this point
Copy the full SHA 5bf6fdaView commit details
Commits on Jan 30, 2022
-
Fix unsafe __del__ in TPLinkSmartHomeProtocol (#300)
* Fix unsafe __del__ in TPLinkSmartHomeProtocol Fixes ``` Exception ignored in: <function TPLinkSmartHomeProtocol.__del__ at 0x1096d0670> Traceback (most recent call last): File "/Users/bdraco/home-assistant/venv/lib/python3.9/site-packages/kasa/protocol.py", line 159, in __del__ self.writer.close() File "/opt/homebrew/Cellar/python@3.9/3.9.6/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/streams.py", line 353, in close return self._transport.close() File "/opt/homebrew/Cellar/python@3.9/3.9.6/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/selector_events.py", line 700, in close self._loop.call_soon(self._call_connection_lost, None) File "/opt/homebrew/Cellar/python@3.9/3.9.6/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/base_events.py", line 748, in call_soon self._check_thread() File "/opt/homebrew/Cellar/python@3.9/3.9.6/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/base_events.py", line 785, in _check_thread raise RuntimeError( RuntimeError: Non-thread-safe operation invoked on an event loop other than the current one ``` * comment * comment * comment
Configuration menu - View commit details
-
Copy full SHA for c865d3f - Browse repository at this point
Copy the full SHA c865d3fView commit details
Commits on Feb 2, 2022
-
cli: cleanup discover, fetch update prior device access (#303)
* Use on_discovered for smoother user experience * Remove --discover-only as unnecessary
Configuration menu - View commit details
-
Copy full SHA for 9ea8338 - Browse repository at this point
Copy the full SHA 9ea8338View commit details -
Guard emeter accesses to avoid keyerrors (#304)
Raise an exception to inform the caller that update() is needed
Configuration menu - View commit details
-
Copy full SHA for 700f385 - Browse repository at this point
Copy the full SHA 700f385View commit details
Commits on Feb 7, 2022
-
Add 'internal_state' to return the results from the last update query (…
…#306) This can be useful for debugging purposes, e.g., for homeassistant diagnostics
Configuration menu - View commit details
-
Copy full SHA for b61c0fe - Browse repository at this point
Copy the full SHA b61c0feView commit details
Commits on Feb 14, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 15906ec - Browse repository at this point
Copy the full SHA 15906ecView commit details
Commits on Feb 15, 2022
-
Allow using environment variables for discovery target, device type a…
…nd debug (#313) * KASA_TYPE defines the device type (bulb, plug, dimmer, strip, lightstrip) * KASA_TARGET to define discovery target * KASA_DEBUG to enable debugging
Configuration menu - View commit details
-
Copy full SHA for db170cf - Browse repository at this point
Copy the full SHA db170cfView commit details
Commits on Feb 20, 2022
-
Configuration menu - View commit details
-
Copy full SHA for e3d76be - Browse repository at this point
Copy the full SHA e3d76beView commit details
Commits on Mar 2, 2022
-
Don't crash on devices not reporting features (#317)
Returns an empty set if no feature information is available
Configuration menu - View commit details
-
Copy full SHA for b22f6b4 - Browse repository at this point
Copy the full SHA b22f6b4View commit details
Commits on Mar 21, 2022
-
Add effect support for light strips (#293)
* Add effect support for KL430 * KL400 supports effects * Add KL400 fixture * Comments from review * actually commit the remove
Configuration menu - View commit details
-
Copy full SHA for 58f6517 - Browse repository at this point
Copy the full SHA 58f6517View commit details -
This is the last release prior restructuring the code to enable easier extendability by moving towards more modular architecture. The most prominent change in this release is the support for effects on light strips. [Full Changelog](0.4.1...0.4.2) **Implemented enhancements:** - Allow environment variables for discovery target, device type and debug [\#313](#313) (@rytilahti) - Add 'internal\_state' to return the results from the last update query [\#306](#306) (@rytilahti) - Drop microsecond precision for on\_since [\#296](#296) (@rytilahti) - Add effect support for light strips [\#293](#293) (@bdraco) **Fixed bugs:** - TypeError: \_\_init\_\_\(\) got an unexpected keyword argument 'package\_name' [\#311](#311) - RuntimeError: Event loop is closed on WSL [\#294](#294) - Don't crash on devices not reporting features [\#317](#317) (@rytilahti) **Closed issues:** - SmartDeviceException: Communication error on system:set\_relay\_state [\#309](#309) - Add Support: ES20M and KS200M motion/light switches [\#308](#308) - New problem with installing on Ubuntu 20.04.3 LTS [\#305](#305) - KeyError: 'emeter' when discovering [\#302](#302) - RuntimeError: Event loop is closed [\#291](#291) - provisioning format [\#290](#290) - Fix CI publishing on pypi [\#222](#222) - LED strips effects are not supported \(was LEDs is not turning on after switching on\) [\#191](#191) **Merged pull requests:** - Add pyupgrade to CI runs [\#314](#314) (@rytilahti) - Depend on asyncclick \>= 8 [\#312](#312) (@rytilahti) - Guard emeter accesses to avoid keyerrors [\#304](#304) (@rytilahti) - cli: cleanup discover, fetch update prior device access [\#303](#303) (@rytilahti) - Fix unsafe \_\_del\_\_ in TPLinkSmartHomeProtocol [\#300](#300) (@bdraco) - Improve typing for protocol class [\#289](#289) (@rytilahti) - Added a fixture file for KS220M [\#273](#273) (@mrbetta)
Configuration menu - View commit details
-
Copy full SHA for 6f5a60a - Browse repository at this point
Copy the full SHA 6f5a60aView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 0.4.1...0.4.2