Samuel Xiao
9a6c642bdf
Bump switchbot-api to 2.5.0 ( #146205 )
...
* update switchbot-api to 2.5.0
* update switchbot-api to 2.5.0
2025-06-05 16:16:45 +02:00
Samuel Xiao
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
Gigatrappeur
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 <joostlek@outlook.com >
2025-05-22 12:19:08 +02:00
Manuel Rüger
ca914d8e4f
switchbot_cloud: Add Smart Lock door and calibration state ( #143695 )
...
* switchbot_cloud: Add Smart Lock door and calibration state
* Incorporate review
2025-05-22 11:51:28 +02:00
Manuel Rüger
5ccb9486e0
switchbot_cloud: Add battery sensor for Bot and Smart Locks ( #143689 )
2025-04-30 19:32:02 +02:00
Manuel Rüger
bdd9099294
switchbot_cloud: Add firmware information ( #143693 )
2025-04-30 14:48:18 +02:00
Erik Montnemery
f83c8de8d3
Update signature of platforms' async_setup_entry ( #138201 )
2025-02-10 21:08:03 +01:00
Michael
a0e7560b1e
Explicitly pass in the config_entry in switchbot_cloud coordinator ( #137922 )
...
explicitly pass in the config_entry in coordinator
2025-02-09 14:51:29 +01:00
epenet
844259bd6c
Standardize homeassistant imports in component (s) ( #136832 )
2025-01-29 12:24:31 +01:00
Mick Montorier-Aberman
33a2fa2c85
Add support for Bot in SwitchBot Cloud ( #135606 )
2025-01-21 12:08:38 +00:00
Joost Lekkerkerker
02bf8447b3
Fix unset coordinator in Switchbot cloud ( #135985 )
2025-01-19 15:15:32 +01:00
Joost Lekkerkerker
cf29ef91ee
Fix switchbot cloud library logger ( #135987 )
2025-01-19 15:15:21 +01:00
Mick Montorier-Aberman
41fe863b72
Refactor SwitchBot Cloud make_device_data ( #135698 )
2025-01-19 14:22:21 +01:00
Mick Montorier-Aberman
6a50648223
Call async_forward_setup_entry after the first refresh in SwitchBot Cloud ( #135625 )
2025-01-15 14:33:21 +00:00
Ravaka Razafimanantsoa
559c411dd2
Add current and voltage for plugs to switchbot_cloud ( #135458 )
...
SwitchBot Cloud: Adding current and voltage for plugs
2025-01-12 18:42:06 +01:00
Ravaka Razafimanantsoa
11ebc27bfe
Bump switchbot-api to 2.3.1 ( #135451 )
2025-01-12 17:29:01 +01:00
greyeee
be25cb7aa7
Add support for SwitchBot Relay Switch 1 and Relay Switch 1PM ( #132327 )
2024-12-18 13:19:45 +01:00
Ravaka Razafimanantsoa
ce8c5fc3a9
Fix API change for AC not supporting floats in SwitchBot Cloud ( #132231 )
2024-12-08 23:35:41 +01:00
G Johansson
2eaf206562
Implement new state property for vacuum which is using an enum ( #126353 )
...
* Implement new state property for vacuum which is using an enum
* Mod
* Mod init
* Mods
* Fix integrations
* Tests
* Fix state
* Add vacuum tests
* Fix last test
* Litterrobot tests
* Fixes
* Tests
* Fixes
* Fix VacuumEntity
* Mods
* Mods
* Mods
* Update demo
* LG
* Fix vacuum
* Fix Matter
* Fix deprecation version
* Mods
* Fixes
* Fix ruff
* Fix tests
* Fix roomba
* Fix breaking dates
2024-12-06 11:16:03 +01:00
G Johansson
60563ae88a
Remove _enable_turn_on_off_backwards_compatibility N-S ( #132422 )
2024-12-05 21:47:31 +01:00
Erik Elkins
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
Heiko Carrasco
2da0a91a36
Add lock to switchbot_cloud ( #115128 )
...
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
Gigatrappeur
a24db20c64
Add k10+ vacuum in switchbot cloud integration ( #125457 )
...
* Add k10+ vacuum in switchbot cloud integration
* Change label fan speed, Mapping state HA, Add others vacuums
* Update homeassistant/components/switchbot_cloud/vacuum.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com >
* Remove comments and add mapping for fan speed
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com >
2024-09-14 17:01:41 +02:00
Ravaka Razafimanantsoa
8b729e3c7d
Bump switchbot-api to 2.2.1 ( #121676 )
2024-07-10 15:16:57 +02:00
Marc Mueller
87bb7ced79
Use PEP 695 for simple type aliases ( #117633 )
2024-05-17 14:42:21 +02:00
Laurence Presland
c3f95a4f7a
Implement support for SwitchBot Meter, MeterPlus, and Outdoor Meter ( #115522 )
...
* Implement support for SwitchBot MeterPlus
Add temperature, humidity, and battery sensor entities for the MeterPlus device
* Rename GH username
* Update homeassistant/components/switchbot_cloud/coordinator.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com >
* Refactor to use EntityDescriptions
Concat entity ID in SwitchBotCloudSensor init
* Remove __future__ import
* Make scan interval user configurable
* Add support for Meter and Outdoor Meter
* Revert "Make scan interval user configurable"
This reverts commit e256c35bb7 .
* Remove device-specific default scan intervals
* Update homeassistant/components/switchbot_cloud/sensor.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com >
* Update homeassistant/components/switchbot_cloud/sensor.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com >
* Update homeassistant/components/switchbot_cloud/sensor.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com >
* Fix ruff errors
* Reorder manifest keys
* Update CODEOWNERS
* Add sensor.py to coveragerc
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com >
2024-05-13 15:18:28 +02:00
Sid
2cc916db6d
Replace pylint broad-except with Ruff BLE001 ( #116250 )
2024-05-07 14:00:27 +02:00
Joost Lekkerkerker
eec1dafe11
Fix typo in Switchbot cloud ( #116388 )
2024-04-29 16:58:02 +02:00
Heiko Carrasco
2c6ec506ad
Update switchbot_api to 2.1.0 ( #115529 )
2024-04-15 21:09:34 +02:00
Marc Mueller
930a396712
Add empty line after module docstring [s] ( #112704 )
2024-03-08 14:33:51 +01:00
Erik Montnemery
b0ed8c4961
Migrate integrations s-t to generic flowhandler ( #111865 )
2024-02-29 22:16:14 +01:00
G Johansson
b379e9db60
Add migrated ClimateEntityFeature for SwitchBot Cloud ( #109136 )
2024-02-02 09:33:13 +01:00
Jan Klausa
f828b1ce85
Bump py-switchbot-api to 2.0.0 ( #108721 )
...
* Update switchbot-api to 2.0.0
* bump requirements
2024-01-24 12:36:41 +01:00
raww
f7a5b14cd6
Bump switchbot-api to 1.3.0 ( #105594 )
2023-12-19 10:27:31 -10:00
Ravaka Razafimanantsoa
1a1bc05470
Address late review of switchbot cloud ( #102842 )
...
For Martin's review
2023-10-26 12:12:18 +02:00
Ravaka Razafimanantsoa
7038bd67f7
Add Climate to switchbot cloud integration ( #101660 )
2023-10-24 23:46:00 -05:00
Ravaka Razafimanantsoa
7b78cfc090
Bump switchbot-api to 1.2.1 ( #101664 )
...
SwitchBot Cloud: Dependency version up
2023-10-09 11:15:59 +02:00
Ravaka Razafimanantsoa
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 <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