Commit Graph

352 Commits (f0e080f958f3ac82263a95632525c3181ceca1a0)

Author SHA1 Message Date
J. Nick Koston 30384501af
Cleanup august binary sensors (#88332) 2023-02-17 19:15:56 +01:00
Martin Hjelmare d0a9d65875
Fix august untracked task (#88107) 2023-02-14 20:25:29 +01:00
J. Nick Koston 84d14cc76a
Add reauthentication support to Yale Access Bluetooth (#87719)
* Bump yalexs_ble to 1.12.11 to fix reconnect when services fail to resolve

changelog: https://github.com/bdraco/yalexs-ble/compare/v1.12.8...v1.12.11

* bump to make it work with esphome proxy as well

* empty

* Add reauth support to yalexs_ble

* lint

* reduce

* tweak

* tweak

* test for reauth

* Apply suggestions from code review

* cleanup
2023-02-09 22:24:14 +01:00
Erik Montnemery cc564026fa
Move EntityCategory to homeassistant.const (#87792)
* Move EntityCategory to homeassistant.const

* Fix more imports
2023-02-09 20:15:37 +01:00
J. Nick Koston b0cbe5cb69
Bump yalexs_ble to 1.12.12 to fix reconnect when services fail to resolve (#87664)
* Bump yalexs_ble to 1.12.11 to fix reconnect when services fail to resolve

changelog: https://github.com/bdraco/yalexs-ble/compare/v1.12.8...v1.12.11

* bump to make it work with esphome proxy as well

* empty
2023-02-09 09:35:33 +01:00
Erik Montnemery 231aad7a68
Sort manifests 1 (#87022) 2023-02-08 20:29:44 +01:00
Franck Nijhof 939eef3b28
Remove translations from Core (#87543)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-02-06 15:06:43 +01:00
epenet bb3e0633a4
Add init return type to integrations (#87523)
Add type hints to integrations
2023-02-06 11:37:25 +01:00
GitHub Action 3f992ed31d [ci skip] Translation update 2023-02-04 00:23:44 +00:00
GitHub Action 71d7098530 [ci skip] Translation update 2023-01-27 00:25:12 +00:00
J. Nick Koston 7d1dec8d31
Bump yalexs_ble to 1.12.8 (#86481) 2023-01-23 12:01:12 -10:00
J. Nick Koston bfc19c8cc3
Give august its own aiohttp session (#86404)
fixes undefined
2023-01-23 10:14:29 +01:00
J. Nick Koston 7661b222b4
Bump yalexs-ble to 1.12.7 (#86396)
fixes https://github.com/home-assistant/core/issues/86182
2023-01-22 19:51:10 +01:00
GitHub Action d1ecc418bb [ci skip] Translation update 2023-01-19 00:25:04 +00:00
GitHub Action b81453cb6b [ci skip] Translation update 2023-01-16 00:24:22 +00:00
GitHub Action 77f9548e51 [ci skip] Translation update 2023-01-15 00:25:52 +00:00
Ville Skyttä ae302bbec0
Make use of str.removeprefix and .removesuffix (#85584) 2023-01-13 12:19:38 +01:00
J. Nick Koston 5872b72f80
Bump yalexs_ble to 1.12.5 (#84517)
* Bump yalexs_ble to 1.12.4

changelog: https://github.com/bdraco/yalexs-ble/compare/v1.12.3...v1.12.4

* one more failure path to fix

* bump in both
2022-12-23 20:44:24 -05:00
J. Nick Koston 3c07f92e72
Bump yalexs-ble to 1.12.3 (#84414) 2022-12-22 13:08:04 +01:00
Franck Nijhof b0cee0bc46
String formatting and max line length - Part 1 (#84390)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-12-22 10:12:50 +01:00
Michaël Arnauts 7142b4ecac
Fixes some grammar mistakes (#84283) 2022-12-20 11:10:31 +01:00
J. Nick Koston 119664b55e
Bump yalexs-ble to 1.12.2 (#84118) 2022-12-17 17:14:39 -10:00
J. Nick Koston e7064bda25
Add dhcp discovery for newer august/yale bridges (#84125) 2022-12-17 16:42:47 -10:00
J. Nick Koston bf18ff9fb9
Bump yalexs_ble to 0.12.0 (#84004) 2022-12-14 12:38:17 -10:00
GitHub Action b9753a9f92 [ci skip] Translation update 2022-12-13 00:27:47 +00:00
Brandon Rothweiler f24f0c2954
Fix incorrect usage of 'setup' vs 'set up' (#83774) 2022-12-12 11:40:00 +01:00
J. Nick Koston 5c79dae4c0
Add support for battery to Yale Access Bluetooth (#83691)
* Add support for battery level to Yale Access Bluetooth

* fix

* bump

* bump

* bump

* bump

* fix

* bump

* battery level is always an estimate from voltage, but than again it always is for every device

* bump

* review

* bump again to fix slow start

* other one
2022-12-10 13:55:22 -05:00
GitHub Action f25017313a [ci skip] Translation update 2022-12-09 00:24:29 +00:00
GitHub Action 3de8185506 [ci skip] Translation update 2022-12-08 00:21:50 +00:00
J. Nick Koston e139470c56
Bump yalexs-ble to 1.10.3 (#83216)
changelog: https://github.com/bdraco/yalexs-ble/compare/v1.10.2...v1.10.3
2022-12-04 11:10:53 +02:00
GitHub Action a1eab7f842 [ci skip] Translation update 2022-12-04 00:23:06 +00:00
J. Nick Koston 0cacfef325
Bump yalexs-ble to 1.10.2 (#83199) 2022-12-03 14:55:53 -05:00
J. Nick Koston c91417e71f
Fix yale access bluetooth locks delaying startup when key changes (#83024)
If the keys changed for the yale locks, the locks would be
slow to setup. Because august had yalexs_ble as an
after dep, it would be waiting with the new keys but not
able to setup because it was waiting for the locks to setup
which would be trying over and over until they failed because
the key had changed out from under it.

This change moves some more code into the lib to avoid
the dep and allows both to startup at the same time so
the cloud service can feed the new keys in if needed without
waiting for the lock to fail to setup

changelog: https://github.com/bdraco/yalexs-ble/compare/v1.9.8...v1.10.0
2022-12-01 03:36:02 +01:00
GitHub Action b65d8cc1b3 [ci skip] Translation update 2022-11-28 00:23:09 +00:00
GitHub Action f3b3193f7a [ci skip] Translation update 2022-11-25 00:24:19 +00:00
GitHub Action 3bea04e387 [ci skip] Translation update 2022-11-21 00:26:41 +00:00
GitHub Action 8b4dbbe593 [ci skip] Translation update 2022-11-10 00:27:41 +00:00
GitHub Action dcf68d768e [ci skip] Translation update 2022-11-09 00:27:20 +00:00
GitHub Action 388328adba [ci skip] Translation update 2022-10-17 00:36:39 +00:00
J. Nick Koston d71a9d6ab3
Bump yalexs to 1.2.6 (#80142) 2022-10-11 19:30:09 -10:00
GitHub Action 230fe4453f [ci skip] Translation update 2022-10-12 00:40:30 +00:00
GitHub Action f58e1513e2 [ci skip] Translation update 2022-10-08 00:29:46 +00:00
J. Nick Koston b49d499ab6
Bump yalexs to 1.2.4 (#79222) 2022-09-28 22:17:29 +02:00
J. Nick Koston 40f5c317c7
Bump yalexs to 1.2.3 (#79170)
Maps more missing activities

Fixes #79119

changelog: https://github.com/bdraco/yalexs/compare/v1.2.2...v1.2.3
2022-09-27 22:50:56 -04:00
J. Nick Koston a7da155a2a
Bump yalexs to 1.2.2 (#78978) 2022-09-22 23:39:23 -04:00
J. Nick Koston a4261d588b
Increase default august timeout (#77762)
Fixes
```
2022-08-28 20:32:46.223 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/Users/bdraco/home-assistant/homeassistant/helpers/debounce.py", line 82, in async_call
    await task
  File "/Users/bdraco/home-assistant/homeassistant/components/august/activity.py", line 49, in _async_update_house_id
    await self._async_update_house_id(house_id)
  File "/Users/bdraco/home-assistant/homeassistant/components/august/activity.py", line 137, in _async_update_house_id
    activities = await self._api.async_get_house_activities(
  File "/Users/bdraco/home-assistant/venv/lib/python3.10/site-packages/yalexs/api_async.py", line 96, in async_get_house_activities
    response = await self._async_dict_to_api(
  File "/Users/bdraco/home-assistant/venv/lib/python3.10/site-packages/yalexs/api_async.py", line 294, in _async_dict_to_api
    response = await self._aiohttp_session.request(method, url, **api_dict)
  File "/Users/bdraco/home-assistant/venv/lib/python3.10/site-packages/aiohttp/client.py", line 466, in _request
    with timer:
  File "/Users/bdraco/home-assistant/venv/lib/python3.10/site-packages/aiohttp/helpers.py", line 721, in __exit__
    raise asyncio.TimeoutError from None
asyncio.exceptions.TimeoutError
```
2022-09-04 11:13:34 +02:00
GitHub Action ccef03f1d4 [ci skip] Translation update 2022-09-02 00:25:46 +00:00
epenet eec45c1208
Adjust type hints in august sensor entity (#76992) 2022-08-18 22:21:19 +02:00
epenet 65eb1584f7
Improve entity type hints [a] (#76986) 2022-08-18 15:56:52 +02:00
GitHub Action 7c81f790a7 [ci skip] Translation update 2022-08-12 00:23:47 +00:00
J. Nick Koston bf899101ce
Update offline keys from august cloud for august branded yale locks (#76577) 2022-08-10 16:21:41 -10:00
GitHub Action 519d478d61 [ci skip] Translation update 2022-08-11 00:26:23 +00:00
J. Nick Koston 76f137eb75
Bump yalexs to 1.2.1 (#76339)
Changelog: https://github.com/bdraco/yalexs/compare/v1.1.25...v1.2.1
2022-08-06 12:39:33 +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
GitHub Action 81e3ef03f7 [ci skip] Translation update 2022-08-02 00:27:42 +00:00
GitHub Action 87797c8b66 [ci skip] Translation update 2022-07-21 00:26:18 +00:00
J. Nick Koston cd03c49fc2
Wait for config entry platform forwards (#73806) 2022-07-09 17:27:42 +02:00
epenet d323508f79
Add type hints to async_step_reauth (#74164) 2022-06-29 11:25:37 +02:00
GitHub Action f5fe210eca [ci skip] Translation update 2022-06-29 00:23:03 +00:00
epenet b51ad16db9
Adjust button type hints in components (#74132) 2022-06-28 17:19:03 +02:00
epenet 3c82c718cb
Improve typing in fans and locks (#73901) 2022-06-23 16:34:40 +02:00
epenet f8f1bfde21
Add lock typing in components (#73539)
* Add lock typing in components

* Revert freedompro amends
2022-06-15 15:23:36 +02:00
J. Nick Koston 06ebc1fa14
Add support for async_remove_config_entry_device to august (#72627) 2022-06-10 09:53:42 +02:00
GitHub Action ceb8bb4745 [ci skip] Translation update 2022-05-21 00:22:49 +00:00
epenet 1c5541c875
Cleanup deprecated async_get_registry in august (#72062) 2022-05-18 13:16:04 +02:00
GitHub Action 37f81b261d [ci skip] Translation update 2022-05-16 00:24:28 +00:00
dacwe f18d794293
Bump yalexs to 1.1.25 for handling locks in "secure locked mode" as locked (#71666) 2022-05-10 19:34:03 -05:00
J. Nick Koston 6722d060dd
Bump yalexs to 1.1.24 (#71372) 2022-05-05 18:49:30 -04:00
GitHub Action 9b10658d01 [ci skip] Translation update 2022-05-02 00:22:04 +00:00
Marc Mueller 8f69d31322
Make TypeVars private (3) (#68207) 2022-03-17 19:11:14 +01:00
J. Nick Koston 65c670c2c7
Add diagnostics to august (#68157) 2022-03-15 19:05:56 +01:00
GitHub Action c64b4d997b [ci skip] Translation update 2022-03-13 00:18:58 +00:00
GitHub Action 102ae9f0e3 [ci skip] Translation update 2022-02-22 00:17:23 +00:00
GitHub Action c4cc6ca0ba [ci skip] Translation update 2022-02-20 00:20:09 +00:00
J. Nick Koston a6742eff34
Add button to wake august locks from deep sleep (#66343) 2022-02-11 17:13:35 -06:00
J. Nick Koston 323af9f59c
Reduce number of parallel api calls to august (#66328) 2022-02-11 18:07:32 +01:00
J. Nick Koston 43671da7cf
Fix august token refresh when data contains characters outside of latin1 (#66303)
* WIP

* bump version

* bump
2022-02-11 11:15:50 +02:00
J. Nick Koston 175812d9e1
Fix missing exception catch in august to prevent failed setup (#66045) 2022-02-07 15:45:40 -08:00
GitHub Action b2f0882e67 [ci skip] Translation update 2022-02-04 00:13:58 +00:00
GitHub Action 256ad084c5 [ci skip] Translation update 2022-02-03 00:14:18 +00:00
J. Nick Koston fab9c4aa20
Improve reliability of august setup with recent api changes (#65314) 2022-01-31 10:21:47 -06:00
J. Nick Koston 8c9bd6e790
Increase august timeout and make failure to sync at startup non-fatal (#65281) 2022-01-30 20:50:49 -08:00
GitHub Action ca7d4234e1 [ci skip] Translation update 2022-01-31 00:14:28 +00:00
GitHub Action 77ef86faee [ci skip] Translation update 2022-01-30 00:14:21 +00:00
J. Nick Koston 5b755b74fb
Add loggers to integration manifest.json (#65083) 2022-01-28 13:37:53 -08:00
J. Nick Koston a24f79434f
Add state classes to august sensors (#64931) 2022-01-25 20:37:52 -08:00
GitHub Action 47d3fb1dec [ci skip] Translation update 2022-01-23 00:13:53 +00:00
Josh Soref dadcc5ebcb
spelling: components/august (#64232)
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2022-01-17 15:51:46 +01:00
J. Nick Koston d1831748eb
Ensure status is correct at start for older august bridges (#64144) 2022-01-14 21:00:44 -10:00
J. Nick Koston 2d5fe93cb2
Fix august lock/unlock with older bridges (#64143) 2022-01-14 15:13:30 -08:00
J. Nick Koston 06fd75be7e
Ensure august status is current when integration loads (#64027) 2022-01-13 18:26:47 +01:00
J. Nick Koston b5bb692fe4
Fix august locks failing to lock/unlock (#63652) 2022-01-09 21:27:27 -08:00
epenet 4c14aad90f
Add setup type hints to august (#63388)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-04 13:32:11 -10:00
epenet eed7ce55b3
Add lock setup type hints (#63296)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 15:45:15 +01:00
epenet cbd3cd4599
Add camera setup type hints (#63277)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 13:22:41 +01:00
J. Nick Koston 20e6b50003
Bump yalexs to 1.1.16 (#62700) 2021-12-23 21:08:38 +01:00
GitHub Action babd753610 [ci skip] Translation update 2021-12-21 00:15:06 +00:00
J. Nick Koston 03477e0ae6
Split august motion and image capture binary sensors (#62154) 2021-12-18 22:25:30 -08:00
Michael b68a2747f3
Use relative imports [A-H] (#61574) 2021-12-13 20:03:01 +01:00