* add support for strip light3 and floor lamp
* clear the color mode
* add led unit test
* use property for effect
* fix color mode issue
* remove new products
* fix adv data
* adjust log level
* add translation and icon
* add support for evaporative humidifier
* add evaporative humidifier unit test
* clear the humidifier action in pyswitchbot
* fix ruff
* fix Sentence-casing issue
* add icon translation
* remove last run success
* use icon translations for water level
* remove the translation for last run success
* add support for air purifier
* add unit tests for air purifier
* fix aqi translation
* fix aqi translation
* add air purifier table
* fix air purifier
* remove init and add options for aqi level
* add cover unit tests
* Add unit test for SwitchBot cover
* fix: use mock_restore_cache to mock the last state
* modify unit tests
* modify scripts as suggest
* improve readability
* adjust patch target per review comments
* adjust patch target per review comments
---------
Co-authored-by: J. Nick Koston <nick@koston.org>
* Support relay switch
* 更新下版本
* add test case
* change to async_abort
* Upgrade PySwitchbot to 0.53.2
* change unit to volt
* upgrade pySwitchbot dependency
* bump lib, will be split into a seperate PR after testing is finished
* dry
* dry
* dry
* dry
* dry
* dry
* dry
* update tests
* fixes
* fixes
* cleanups
* fixes
* fixes
* fixes
* bump again
---------
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Add option to force nightlatch operation mode
* Fix format
* Make the new option available only for lock pro entry
* use senor_type instead of switchbot model + tests
* Update homeassistant/components/switchbot/lock.py
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Add entity name translations to Switchbot
Signed-off-by: Patrick ZAJDA <patrick@zajda.fr>
* Apply suggestions from code review
Signed-off-by: Patrick ZAJDA <patrick@zajda.fr>
* Fix tests
Signed-off-by: Patrick ZAJDA <patrick@zajda.fr>
* Update homeassistant/components/switchbot/strings.json
Co-authored-by: Patrick ZAJDA <patrick@zajda.fr>
---------
Signed-off-by: Patrick ZAJDA <patrick@zajda.fr>
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>