Commit Graph

157 Commits

Author SHA1 Message Date
J. Nick Koston
3a60466e7c Fix switchbot not becoming available again after unavailable (#81822)
* Fix switchbot not becoming available again after unavailable

If the advertisment was the same and we were previously
marked as unavailable we would not mark the device as
available again until the advertisment changed. For lights
there is a counter but for the bots there is no counter
which means the bots would show unavailable even though
they were available again

* naming

* naming
2022-11-16 15:41:07 +01:00
GitHub Action
388328adba [ci skip] Translation update 2022-10-17 00:36:39 +00:00
J. Nick Koston
1d16e614b8 Bump pySwitchbot to 0.20.2 (#80435)
* Bump pySwitchbot to 0.20.1

fixes #80427

* bump again to fix contact timeout sensor
2022-10-16 20:09:56 -04:00
J. Nick Koston
bbe63bca47 Bump pySwitchbot to 0.20.0 for bleak 0.19 changes (#80389) 2022-10-16 15:16:02 +03:00
J. Nick Koston
d12cbab6c4 Bump bleak to 0.19.0 (#80349) 2022-10-15 13:57:23 -04:00
J. Nick Koston
b3ad0eebcd Bump pySwitchbot to 0.19.15 (#79972) 2022-10-10 22:10:28 +02:00
Patrick ZAJDA
d0bffb6c75 Migrate Switchbot to new entity naming style (#80008)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-10-10 14:12:50 +02:00
Patrick ZAJDA
4baba77780 Add state class measurement to SwitchBot signal strength sensors (#79886) 2022-10-08 08:02:26 -10:00
GitHub Action
13c8d22baf [ci skip] Translation update 2022-10-02 00:37:00 +00:00
J. Nick Koston
63b7a23636 Bump switchbot to fix assertion error on processing humidifer data (#79180)
changelog: https://github.com/Danielhiversen/pySwitchbot/compare/0.19.12...0.19.13
2022-09-28 09:29:09 +02:00
J. Nick Koston
1cf1d2c2bb Update pySwitchbot for newer firmwares (#79174)
changelog: https://github.com/Danielhiversen/pySwitchbot/compare/0.19.11...0.19.12

found while developing bluetooth proxies for esphome
2022-09-27 22:50:40 -04:00
GitHub Action
39ddc37d76 [ci skip] Translation update 2022-09-26 00:30:11 +00:00
GitHub Action
bbe19e6255 [ci skip] Translation update 2022-09-23 00:32:50 +00:00
J. Nick Koston
d7b58f6949 Bump pySwitchbot to 0.19.11 (#78857) 2022-09-21 11:21:14 +02:00
J. Nick Koston
a1735b742c Drop PARALLEL_UPDATES from switchbot (#78713) 2022-09-18 16:36:50 -05:00
J. Nick Koston
b8ccf53799 Fix switchbot not accepting the first advertisement (#78610) 2022-09-17 23:45:04 -04:00
GitHub Action
ec258410c5 [ci skip] Translation update 2022-09-16 00:29:29 +00:00
J. Nick Koston
8ede711f68 Bump PySwitchbot to 0.19.9 (#78504) 2022-09-15 13:25:25 +02:00
GitHub Action
23faf8024e [ci skip] Translation update 2022-09-14 00:28:24 +00:00
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
GitHub Action
718d4ac6cc [ci skip] Translation update 2022-09-09 00:28:55 +00: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
GitHub Action
4f7ad27b65 [ci skip] Translation update 2022-09-07 00:27:56 +00:00
J. Nick Koston
7bac5fecee Bump pySwitchbot to 0.18.22 (#77673) 2022-09-01 15:00:14 -04:00
GitHub Action
035cd16a95 [ci skip] Translation update 2022-08-30 00:30:17 +00: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
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