Commit graph

95 commits

Author SHA1 Message Date
J. Nick Koston
32c6f8aaef
Bump PySwitchbot to 0.19.8 (#78361)
* Bump PySwitchbot to 0.19.7

Changes for bleak 0.17

https://github.com/Danielhiversen/pySwitchbot/compare/0.19.6...0.19.7

* bump again to fix some more stale state bugs
2022-09-13 23:11:44 +03:00
J. Nick Koston
3be9bee61e
Bump pySwitchbot to 0.19.6 (#78304)
No longer swallows exceptions from bleak connection errors which
was hiding the root cause of problems.

This was the original behavior from a long time ago which
does not make sense anymore since we retry a few times anyways

https://github.com/Danielhiversen/pySwitchbot/compare/0.19.5...0.19.6
2022-09-12 21:18:26 +02:00
J. Nick Koston
c0374a9434
Bump PySwitchbot to 0.19.5 (#78224) 2022-09-11 12:19:31 -04:00
J. Nick Koston
a3ec28ea79
Close stale switchbot connections at setup time (#78202) 2022-09-10 14:21:10 -04:00
J. Nick Koston
dbcb269111
Fix switchbot not setting up when already connected at startup (#78198) 2022-09-10 13:32:38 -04:00
J. Nick Koston
a1ec9c6147
Bump pySwitchbot to 0.19.1 (#78168) 2022-09-09 22:32:17 -04:00
J. Nick Koston
d98ed03845
Fix switchbot writing state too frequently (#78094) 2022-09-09 18:13:27 -05:00
J. Nick Koston
2cfdc15c38
Handle stale switchbot advertisement data while connected (#77956) 2022-09-07 16:54:21 +02:00
J. Nick Koston
e42c48ebca
Bump PySwitchbot to 0.18.25 (#77935) 2022-09-07 06:12:17 -05:00
J. Nick Koston
7bac5fecee
Bump pySwitchbot to 0.18.22 (#77673) 2022-09-01 15:00:14 -04:00
J. Nick Koston
795691038f
Add light platform to switchbot (#77430) 2022-08-29 09:30:09 -05:00
J. Nick Koston
3938015c93
Add support for scanners that do not provide connectable devices (#77132) 2022-08-22 14:02:26 -04:00
J. Nick Koston
86e17865f9
Bump pySwitchbot to 0.18.14 (#77090) 2022-08-21 20:36:27 +02:00
J. Nick Koston
828bf63ac2
Bump pySwitchbot to 0.18.12 (#77040) 2022-08-20 08:14:47 +02:00
J. Nick Koston
8a85881ca0
Bump pySwitchbot to 0.18.10 to handle empty data and disconnects (#76684)
* Bump pySwitchbot to 0.18.7 to handle empty data

Fixes #76621

* bump again

* bump

* bump for rssi on disconnect logging
2022-08-15 07:53:27 +02:00
J. Nick Koston
795e7f5707
Bump pySwitchbot to 0.18.6 to fix disconnect race (#76656) 2022-08-12 08:58:48 -04:00
J. Nick Koston
828b97f460
Bump pySwitchbot to 0.18.5 (#76640) 2022-08-11 16:03:31 -10:00
J. Nick Koston
adce55b4db
Bump pySwitchbot to 0.18.4 (#76322)
* Bump pySwitchbot to 0.18.3

Fixes #76321

Changelog: https://github.com/Danielhiversen/pySwitchbot/compare/0.17.3...0.18.3

* bump
2022-08-06 12:46:27 +02:00
J. Nick Koston
0dbb119677
Bump pySwitchbot to 0.17.3 to fix hang at startup (#76103) 2022-08-03 08:34:46 +02:00
Eloston
44b6213217
Add support for SwitchBot Plug Mini (#76056) 2022-08-01 16:29:44 -10:00
J. Nick Koston
a95851c9c2
Bump pySwitchbot to 0.16.0 to fix compat with bleak 0.15 (#75991) 2022-07-31 13:13:05 -07:00
J. Nick Koston
e6802f4f7e
Add support for switchbot contact/door sensor (#75730) 2022-07-26 05:14:02 -10:00
J. Nick Koston
511af3c455
Update switchbot bluetooth matchers for sensor devices (#75690) 2022-07-24 16:55:52 -05:00
J. Nick Koston
d890598da7
Update PySwitchbot to improve connection reliability (#75692) 2022-07-24 16:38:07 -05:00
J. Nick Koston
198167a2c8
Update switchbot to be local push (#75645)
* Update switchbot to be local push

* fixes

* fixes

* fixes

* fixes

* adjust

* cover is not assumed anymore

* cleanups

* adjust

* adjust

* add missing cover

* import compat

* fixes

* uses lower

* uses lower

* bleak users upper case addresses

* fixes

* bump

* keep conf_mac and deprecated options for rollback

* reuse coordinator

* adjust

* move around

* move around

* move around

* move around

* refactor fixes

* compat with DataUpdateCoordinator

* fix available

* Update homeassistant/components/bluetooth/passive_update_processor.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update homeassistant/components/bluetooth/passive_update_coordinator.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update homeassistant/components/bluetooth/update_coordinator.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Split bluetooth coordinator into PassiveBluetoothDataUpdateCoordinator and PassiveBluetoothProcessorCoordinator

The PassiveBluetoothDataUpdateCoordinator is now used to replace instances
of DataUpdateCoordinator where the data is coming from bluetooth
advertisements, and the integration may also mix in active updates

The PassiveBluetoothProcessorCoordinator is used for integrations that
want to process each bluetooth advertisement with multiple processors
which can be dispatched to individual platforms or areas or the integration
as it chooes

* change connections

* reduce code churn to reduce review overhead

* reduce code churn to reduce review overhead

* Update homeassistant/components/bluetooth/passive_update_coordinator.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* add basic test

* add basic test

* complete coverage

* Update homeassistant/components/switchbot/coordinator.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update homeassistant/components/switchbot/coordinator.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update homeassistant/components/switchbot/__init__.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update homeassistant/components/switchbot/__init__.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* lint

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-07-24 11:38:45 -05:00
Diogo F. Andrade Murteira
148f963510
Add Switchbot hygrometers (#75325)
* Switchbot add support for hygrometers

* Update CODEOWNERS

* Improve debug

* Remove redundant mention to temp unit

* Adopt FlowResultType

* Modify SwitchBot data within coordinator

* Increase logging for switchbot sensor

* Revert "Increase logging for switchbot sensor"

This reverts commit d8b377429c.

Co-authored-by: J. Nick Koston <nick@koston.org>
2022-07-22 11:03:02 -05:00
Pascal Winters
95e07508e5
Bump pySwitchbot to 0.14.1 (#75487) 2022-07-20 12:57:00 +02:00
J. Nick Koston
a697672944
Add bluetooth integration (#74653)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-07-08 18:55:31 -05:00
RenierM26
10ea88e0ea
Switchbot bump Dependency 0.14.0 (#74001)
* Bump requirement.

* Switchbot depenacy update, full async.

* Update tests, remove redundant config entry check.

* Update requirements_test_all.txt

* Update requirements_all.txt

* Remove asyncio lock. Not required anymore with bleak.

* Update requirements_all.txt

* Update requirements_test_all.txt

* pyswitchbot no longer uses bluepy
2022-06-27 13:56:51 +02:00
Pascal Winters
3dd31acc33
Bump PySwitchbot to 0.13.3 (#67025) 2022-02-22 14:17:50 +01:00
J. Nick Koston
5b755b74fb
Add loggers to integration manifest.json (#65083) 2022-01-28 13:37:53 -08:00
RenierM26
18706e6408
Bump PySwitchbot to 0.13.2 (#63713)
* Bump api

* gen requirements

* Bump api to 0.13.2 to remove print statement.
2022-01-10 07:19:04 +01:00
RenierM26
121a0915bc
Switchbot bump api version (#59398)
* Bump Switchbot api for reliability improvements.

* Bump api version, update mock test import to reflect api data changes.
2021-11-09 07:01:05 +01:00
RenierM26
b27bcf1b00
Bump Switchbot library (#57367)
* Bump dependency to fix SB password problem.

* Bump API version.
2021-10-09 10:02:35 +02:00
RenierM26
3ce8109e5e
Add config flow to Switchbot (#50653)
Co-authored-by: Daniel Hjelseth Høyer <mail@dahoiv.net>
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-09-18 09:25:05 -10:00
Franck Nijhof
055cdc64c0
Add support for IoT class in manifest (#46935) 2021-04-15 10:21:38 +02:00
Paulus Schoutsen
f1d3c0d19b
Remove unused manifest fields (#33595) 2020-04-03 12:58:19 -07:00
Jaryl Chng
6c6318d18f
Update PySwitchbot to 0.8.0 and add password configuration option (#33252)
* Update PySwitchbot to 0.8.0 and added password configuration

* Removed unchanged retry_count attribute

* Fix dependencies and formatting

* Removed default value for password and use config.get instead
2020-03-26 20:55:00 +01:00
Franck Nijhof
22760a0bee Correct names in manifests (Q-S) (#30543) 2020-01-07 08:19:44 -05:00
Franck Nijhof
a84741392b
Format all manifests with prettier (#30521) 2020-01-06 21:28:23 +01:00
Franck Nijhof
c7da781efc Update documentation link URL for integrations in all manifests (#27114) 2019-10-02 09:25:44 -07:00
Daniel Høyer Iversen
d8a219fe0e Upgrade switchbot , fixes #23702 (#23716) 2019-05-06 10:18:50 -07:00
Daniel Høyer Iversen
9761c504eb update switchbot library (#23643) 2019-05-03 08:46:19 -04:00
Daniel Høyer Iversen
95bbea20a8 Fix Switchbot restore state (#23325)
* switchbot library

* req

* req

* issue #23039
2019-04-23 19:23:52 -07:00
Paulus Schoutsen
cfe4cf30ad
Add manifests (#22699)
* Add manifests

* Update auto name

* Update codeowners

* Add requirements from platforms

* Minor cleanup

* Incorporate changes from awarecan PR
2019-04-03 21:14:45 -07:00