1
0
mirror of https://github.com/home-assistant/core.git synced 2025-05-22 23:07:06 +00:00

5 Commits

Author SHA1 Message Date
Heiko Carrasco
2da0a91a36
Add lock to switchbot_cloud ()
Co-authored-by: Ravaka Razafimanantsoa <3774520+SeraphicRav@users.noreply.github.com>
Co-authored-by: Robert Resch <robert@resch.dev>
2024-10-25 20:09:14 +02:00
Marc Mueller
f11b316dac
Import Generator from collections.abc (4) () 2024-07-01 11:54:42 +02:00
Marc Mueller
837ee7c4fb
Import Generator from typing_extensions (4) () 2024-06-06 17:41:37 +02:00
Marc Mueller
7d6251ca08
Add empty line after module docstring [tests q-s] () 2024-03-08 14:47:22 +01:00
Ravaka Razafimanantsoa
f99dedfb42
Add switchbot cloud integration ()
* Switches via API

* Using external library

* UT and checlist

* Updating file .coveragerc

* Update homeassistant/components/switchbot_via_api/switch.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update homeassistant/components/switchbot_via_api/switch.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update homeassistant/components/switchbot_via_api/switch.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Review fixes

* Apply suggestions from code review

Co-authored-by: J. Nick Koston <nick@koston.org>

* This base class shouldn't know about Remote

* Fixing suggestion

* Sometimes, the state from the API is not updated immediately

* Review changes

* Some review changes

* Review changes

* Review change: Adding type on commands

* Parameterizing some tests

* Review changes

* Updating .coveragerc

* Fixing error handling in coordinator

* Review changes

* Review changes

* Adding switchbot brand

* Apply suggestions from code review

Co-authored-by: J. Nick Koston <nick@koston.org>

* Review changes

* Adding strict typing

* Removing log in constructor

---------

Co-authored-by: J. Nick Koston <nick@koston.org>
2023-09-16 16:00:41 +02:00