Commit graph

124 commits

Author SHA1 Message Date
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
GitHub Action
ff3fd4c29d [ci skip] Translation update 2022-08-16 00:30:51 +00: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
GitHub Action
bec8e544f4 [ci skip] Translation update 2022-08-14 00:25:47 +00:00
Marc Mueller
5db1fec99e
Fix implicit Optional [p-s] (#76721) 2022-08-13 18:46:49 +02:00
GitHub Action
6e03b12a93 [ci skip] Translation update 2022-08-13 00:25:00 +00: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
4a5a039984
Use async_timeout instead of asyncio.wait_for in switchbot (#76630) 2022-08-11 21:10:59 -04:00
GitHub Action
7c81f790a7 [ci skip] Translation update 2022-08-12 00:23:47 +00:00
GitHub Action
519d478d61 [ci skip] Translation update 2022-08-11 00:26:23 +00:00
J. Nick Koston
b1497b0857
Simplify switchbot config flow (#76272) 2022-08-10 09:02:08 -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
GitHub Action
32a2999b85 [ci skip] Translation update 2022-08-06 00:24:46 +00:00
GitHub Action
cb46441b74 [ci skip] Translation update 2022-08-05 00:28:51 +00: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
GitHub Action
e09bbc749c [ci skip] Translation update 2022-08-03 00:28:23 +00:00
J. Nick Koston
fe6d6b81e3
Add support for switchbot motion sensors (#76059) 2022-08-02 12:38:31 +02:00
Eloston
44b6213217
Add support for SwitchBot Plug Mini (#76056) 2022-08-01 16:29:44 -10:00
GitHub Action
81e3ef03f7 [ci skip] Translation update 2022-08-02 00:27:42 +00: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
bb3e094552
Fix switchbot failing to setup when last_run_success is not saved (#75887) 2022-07-29 21:33:29 -07:00
J. Nick Koston
80a9659524
Update to bleak 0.15 (#75941) 2022-07-29 17:53:33 -07:00
GitHub Action
c4ad6d46ae [ci skip] Translation update 2022-07-30 00:22:48 +00:00
Paulus Schoutsen
4b2beda473
Move some bleak imports to be behind TYPE_CHECKING (#75894) 2022-07-28 22:26:37 -07:00
GitHub Action
33c635809c [ci skip] Translation update 2022-07-27 00:28:57 +00:00
J. Nick Koston
e6802f4f7e
Add support for switchbot contact/door sensor (#75730) 2022-07-26 05:14:02 -10:00
GitHub Action
9c725bc106 [ci skip] Translation update 2022-07-26 00:26:43 +00:00
GitHub Action
4a50010458 [ci skip] Translation update 2022-07-25 00:25:55 +00: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
GitHub Action
1d2e64e3dc [ci skip] Translation update 2022-07-14 00:27:41 +00:00
GitHub Action
a3fd5acf3f [ci skip] Translation update 2022-07-13 00:27:34 +00:00
J. Nick Koston
cd03c49fc2
Wait for config entry platform forwards (#73806) 2022-07-09 17:27:42 +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
GitHub Action
3a13ffcf13 [ci skip] Translation update 2022-05-19 00:26:11 +00:00
GitHub Action
348016dbbf [ci skip] Translation update 2022-04-29 00:22:21 +00:00
epenet
190ef4ee35
Use EntityFeature enum in components (s** 2/2) (#69441) 2022-04-07 15:06:34 +02:00
Paulus Schoutsen
88c9233d50
Remove deprecated Switchbot import (#69002) 2022-03-31 20:12:02 +02:00
Marc Mueller
539a469a8b
Update coordinator typing (5) [r-s] (#68465) 2022-03-21 15:24:05 +01:00
GitHub Action
c64b4d997b [ci skip] Translation update 2022-03-13 00:18:58 +00:00
GitHub Action
dc31f420ed [ci skip] Translation update 2022-03-12 00:17:47 +00:00
Pascal Winters
3dd31acc33
Bump PySwitchbot to 0.13.3 (#67025) 2022-02-22 14:17:50 +01:00
GitHub Action
102ae9f0e3 [ci skip] Translation update 2022-02-22 00:17:23 +00:00