Commit Graph

393 Commits (e7992705786591553d55358a4e9bfbaa3ed47bd4)

Author SHA1 Message Date
Joost Lekkerkerker 61ff53fcf7
Use shorthand attributes in August (#99196) 2023-08-28 08:14:38 -05:00
J. Nick Koston 00904a107d
Bump yalexs to 1.8.0 (#98751) 2023-08-21 08:44:45 -05:00
J. Nick Koston 605c55109d
Bump yalexs to 1.7.0 (#98720) 2023-08-21 10:56:39 +02:00
J. Nick Koston 976f6582e1
Reduce overhead to update august activities (#98730) 2023-08-21 10:48:54 +02:00
Joost Lekkerkerker 77b421887b
Add entity translations for August (#98077) 2023-08-14 16:58:57 +02:00
Erik Montnemery 045c327928
Move DeviceInfo from entity to device registry (#98149)
* Move DeviceInfo from entity to device registry

* Update integrations
2023-08-10 22:04:26 -04:00
Franck Nijhof 868a5f377f
Ruff: isort don't split imports based on trailing comma (#98162) 2023-08-10 14:27:03 +02:00
J. Nick Koston 987897b0fa
Add support for Yale Doorman to august (#97997) 2023-08-07 11:28:01 -10:00
J. Nick Koston c8256d1d3d
Optimize august timings to prepare for Yale Doorman support (#97940) 2023-08-07 11:09:32 -10:00
J. Nick Koston 7080e0c280
Bump yalexs to 1.5.2 (#97991) 2023-08-07 11:00:30 -10:00
J. Nick Koston b7bcc1eae4
Bump yalexs-ble to 2.2.3 (#96927) 2023-07-20 22:20:15 +02:00
J. Nick Koston c5b20ca91b
Bump yalexs-ble to 2.2.1 (#96808) 2023-07-18 09:29:42 +02:00
J. Nick Koston 5f46436057
Bump yalexs-ble to 2.2.0 (#96460) 2023-07-13 06:43:50 -10:00
Erik Montnemery 2406b235b4
Name unnamed binary sensors by their device class (#92940)
* Name unnamed binary sensors by their device class

* Update type annotations

* Fix loading of entity component translations

* Add test

* Update integrations

* Set abode and rfxtrx binary_sensor name to None

* Revert changes in homekit_controller
2023-06-13 19:48:54 +02:00
J. Nick Koston 985fb3cd5d
Bump yalexs-ble to 2.1.18 (#94547) 2023-06-13 18:32:43 +02:00
J. Nick Koston b18356bb3f
Fix august aiohttp session being closed out from under it (#93942)
* Fix august aiohttp session being closed out from under it

fixes #93941

* Fix august aiohttp session being closed out from under it

fixes #93941

* Fix august aiohttp session being closed out from under it

fixes #93941
2023-06-01 19:54:25 -04:00
epenet c475273145
Prevent SensorEntity and RestoreEntity inheritance (#88971) 2023-05-24 12:49:35 +02:00
J. Nick Koston 5d02be5d7f
Fix august configuration url with Yale Home brand (#93361)
* Fix august configuration url with Yale Home brand

changelog: https://github.com/bdraco/yalexs/compare/v1.4.6...v1.5.0

* bump
2023-05-22 10:39:56 -05:00
J. Nick Koston 2a2b19ed7c
Add support for Yale Home brand to august (#93214) 2023-05-20 09:42:19 -05:00
J. Nick Koston af1bac8745
Disconnect yale access locks at the stop event (#93192) 2023-05-17 13:25:28 +02:00
J. Nick Koston ed286fc223
Fix august lock state when API reports locking and locked with the same timestamp (#92276) 2023-04-30 18:08:12 +02:00
J. Nick Koston 74e0341d83
Bump yalexs-ble to 2.1.16 (#92034) 2023-04-25 18:53:08 -05:00
J. Nick Koston e3a110f04f
Bump yalexs to 1.3.2 (#91963) 2023-04-24 22:13:30 +02:00
J. Nick Koston 698345e88b
Bump yalexs to 1.3.0 (#91431)
changelog: https://github.com/bdraco/yalexs/compare/v1.2.7...v1.3.0

fixes for missing user ids
2023-04-14 20:02:09 -04:00
epenet c01b1eb013
Adjust async_track_time_interval name argument (#90838)
Adjust async_track_time_interval naming
2023-04-05 10:58:02 -04:00
J. Nick Koston 3bebd4318e
Bump yalexs-ble to 2.1.14 (#90474)
changelog: https://github.com/bdraco/yalexs-ble/compare/v2.1.13...v2.1.14

reduces ble traffic (fixes a bug were we were checking when we did not need to be)
2023-03-29 17:24:47 -04:00
J. Nick Koston b58c90602f
Bump yalexs-ble to 2.1.13 (#90442) 2023-03-29 09:39:44 +02:00
J. Nick Koston 058a2c9d83
Bump yalexs-ble to 2.1.12 (#90381) 2023-03-28 00:41:51 +02:00
J. Nick Koston a733ca96a2
Bump yalexs-ble to 2.1.9 (#90320) 2023-03-27 00:17:32 +02:00
J. Nick Koston f8431278c8
Bump yalexs-ble to 2.1.6 (#90295) 2023-03-26 11:05:21 +02:00
J. Nick Koston bd08d88812
Bump yalexs-ble to 2.1.5 (#90287)
Bump yalexs-ble 2.1.5

Some of the lever locks need a bit longer debounce time
since they still report stale state for up to 6s

changelog: https://github.com/bdraco/yalexs-ble/compare/v2.1.4...v2.1.5
2023-03-25 23:27:35 -04:00
J. Nick Koston 668b2726fe
Bump yalexs-ble to 2.1.4 (#90276) 2023-03-25 10:12:48 -10:00
J. Nick Koston 02ef7d445d
Allow passing an optional name to async_track_time_interval (#90244)
* Allow passing an optional name to async_track_time_interval

This is the same idea as passing a name to asyncio.create_task which
makes it easier to track down bugs

* more

* short

* still cannot find it

* add a few more

* test
2023-03-25 10:11:14 -04:00
J. Nick Koston 2cb4ec82df
Bump yalexs-ble to 2.1.2 (#90156) 2023-03-23 10:08:06 +01:00
J. Nick Koston 7158dbc142
Bump yalexs-ble to 2.1.1 (#90015)
* Bump yalexs-ble to 2.1.1

There was another task that could be prematurely GCed

changelog: https://github.com/bdraco/yalexs-ble/compare/v2.1.0...v2.1.1

* fixes
2023-03-20 23:49:30 -04:00
J. Nick Koston ecf6922ade
Bump yalexs_ble to 2.1.0 (#89772)
switches to using cryptography to reduce the number of deps

changelog: https://github.com/bdraco/yalexs-ble/compare/v2.0.4...v2.1.0
2023-03-15 23:47:26 -04:00
J. Nick Koston d219e7c8b1
Bump yalexs-ble to 2.0.4 (#88798)
changelog: https://github.com/bdraco/yalexs-ble/compare/v2.0.3...v2.0.4
2023-02-26 21:06:27 -05:00
J. Nick Koston 27ebee1501
Fix untrapped exceptions during Yale Access Bluetooth first setup (#88642) 2023-02-23 08:18:55 +01:00
J. Nick Koston 4f4defc055
Bump yalexs-ble to 2.0.2 (#88513) 2023-02-20 16:25:50 -06:00
J. Nick Koston 714328d2ca
Handle key change in Yale Access Bluetooth after first connect (#88282) 2023-02-18 10:40:51 +01:00
Paulus Schoutsen 3a32d2bdcb
Add background tasks to config entries (#88335)
* Use a set for config entries task tracking

* Allow adding background tasks to config entries

* Add tests for config entry add tasks

* Update docstrings on core create task

* Migrate roon and august

* Use in more places

* Guard for None
2023-02-17 13:50:05 -05:00
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