Commit Graph
10 Commits
Author SHA1 Message Date
Ariel EbersbergerandGitHub 5432d29489 Use is/is not for same-enum identity comparisons (tests) (#171689) 2026-05-22 11:32:27 +02:00
Samuel XiaoandGitHub 6d11c0395f Bump switchbot-api to 2.4.0 (#145786)
* update switchbot-api version to 2.4.0

* debug for test code
2025-05-30 20:22:40 +02:00
c68e663a1c Add webhook in switchbot cloud integration (#132882)
* add webhook in switchbot cloud integration

* Rename _need_initialized to _is_initialized and reduce nb line in async_setup_entry

* Add unit tests

* Enhance poll management

* fix

---------

Co-authored-by: Joostlek <[email protected]>
2025-05-22 12:19:08 +02:00
Manuel RügerandGitHub bdd9099294 switchbot_cloud: Add firmware information (#143693) 2025-04-30 14:48:18 +02:00
Mick Montorier-AbermanandGitHub eded99a059 Add tests for sensors in SwitchBot Cloud (#137319) 2025-02-05 12:51:27 +00:00
Mick Montorier-AbermanandGitHub 41fe863b72 Refactor SwitchBot Cloud make_device_data (#135698) 2025-01-19 14:22:21 +01:00
Erik ElkinsandGitHub 388c5807ea Add Switchbot Hub 2, Switchbot Meter Pro and Switchbot Meter Pro (CO2) devices to Switchbot Cloud integration. (#130295) 2024-11-11 16:10:52 +01:00
epenetandGitHub 9204ccfa17 Use is in ConfigEntryState enum comparison in tests (N-Z) (#114926) 2024-04-05 17:37:00 +02:00
Ravaka RazafimanantsoaandGitHub 7038bd67f7 Add Climate to switchbot cloud integration (#101660) 2023-10-24 23:46:00 -05:00
f99dedfb42 Add switchbot cloud integration (#99607)
* 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 <[email protected]>

* Update homeassistant/components/switchbot_via_api/switch.py

Co-authored-by: J. Nick Koston <[email protected]>

* Update homeassistant/components/switchbot_via_api/switch.py

Co-authored-by: J. Nick Koston <[email protected]>

* Review fixes

* Apply suggestions from code review

Co-authored-by: J. Nick Koston <[email protected]>

* 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 <[email protected]>

* Review changes

* Adding strict typing

* Removing log in constructor

---------

Co-authored-by: J. Nick Koston <[email protected]>
2023-09-16 16:00:41 +02:00