Commit graph

235 commits

Author SHA1 Message Date
Sid
2cc916db6d
Replace pylint broad-except with Ruff BLE001 (#116250) 2024-05-07 14:00:27 +02:00
Aaron Bach
841d3940d1
Fix unhandled KeyError during Notion setup (#114787) 2024-04-03 18:20:20 -06:00
Aaron Bach
20647af5ae
Move Notion coordinator to its own module (#112756)
Co-authored-by: Cretezy <Cretezy@users.noreply.github.com>
2024-03-12 21:51:13 +01:00
Aaron Bach
113df1ab62
Streamline Notion config entry updates (refresh token and user ID) (#112832) 2024-03-10 11:04:17 -06:00
Aaron Bach
3405bda835
Make sure Notion saves new refresh token upon startup (#112676)
* Make sure Notion saves new refresh token upon startup

* Code review

* Typing

* Smoother syntax

* Fix tests

* Fix tests for real
2024-03-08 22:27:56 -05:00
Marc Mueller
2c06d4fcb9
Add empty line after module docstring (2) [components] (#112736) 2024-03-08 19:15:59 +01:00
Marc Mueller
988c71ecc5
Add empty line after module docstring [n-q] (#112702) 2024-03-08 15:04:07 +01:00
Aaron Bach
9555e8764a
Bump aionotion to 2024.03.0 (#112675) 2024-03-08 11:51:05 +01:00
Joost Lekkerkerker
357840ec53
Add icon translations to Notion (#111984) 2024-03-01 23:55:49 +01:00
Erik Montnemery
e0c1feb22c
Migrate integrations n-r to generic flowhandler (#111864) 2024-02-29 20:09:01 +01:00
Marc Mueller
f155f1c102
Update aionotion to 2024.02.2 (#111388) 2024-02-25 10:45:51 -07:00
Aaron Bach
e3c838d512
Update Notion auth to store refresh tokens instead of account passwords (#109670) 2024-02-12 20:35:06 -07:00
Aaron Bach
edc6e3e2f9
Bump aionotion to 2024.02.0 (#109577) 2024-02-04 14:35:08 -07:00
Aaron Bach
70aff728fd
Remove unnecessary Notion entity description mixins (#108194) 2024-01-16 15:00:45 -10:00
Aaron Bach
1e12c7fe12
Fix bug with non-existent Notion bridge IDs (#106152) 2023-12-23 10:26:00 +01:00
Erik Montnemery
0c2485bc03
Freeze integration entity descriptions (#105984)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-18 16:28:13 -10:00
Marc Mueller
a70ec64408
Update mypy to 1.7.0 (#103800) 2023-11-11 23:31:04 +01:00
Marc Mueller
c35f56ea77
Handle BaseException from asyncio gather (#103814) 2023-11-11 22:26:37 +01: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
Erik Montnemery
7539cf25be
Don't require passing identifiers to DeviceRegistry.async_get_device (#96479)
* Require keyword arguments to DeviceRegistry.async_get_device

* Update tests

* Update tests

* Don't enforce keyword arguments
2023-07-13 13:39:25 -04:00
Joost Lekkerkerker
f0eb084908
Add entity translations to Notion (#95755)
* Add entity translations to Notion

* Use device class translations

* Use device class translations
2023-07-03 18:31:07 +02:00
Aaron Bach
c1b8e4a3e5
Add mold risk sensor to Notion (#95643)
Add mold detection sensor to Notion
2023-07-02 12:13:18 -06:00
Aaron Bach
d16452bed7
Bump aionotion to 2023.05.5 (#93334) 2023-05-22 10:14:52 +02:00
Aaron Bach
637941df4d
Fix a series of bugs due to Notion API changes (#93039)
* Fix a series of bugs due to Notion API changes

* Simplify

* Reduce blast radius

* Reduce blast radius

* Fix tests
2023-05-14 12:07:15 -04:00
Aaron Bach
c634d8f940
Bump aionotion to 2023.05.1 (#92697) 2023-05-06 13:11:57 -05:00
Aaron Bach
b0b53574f9
Bump aionotion to 2023.05.0 (#92451) 2023-05-04 12:21:58 +02:00
Marc Mueller
00e600d406
Improve notion generic typing (#91883) 2023-04-23 11:24:39 +02:00
Aaron Bach
c6d846453d
Bump aionotion to 2023.04.2 to address imminent API change (#91786)
* Bump `aionotion` to 2023.04.0

* Bump `aionotion` to 2023.04.2 to address imminent API change

* Clean migration

* Reduce blast area

* Fix tests

* Better naming
2023-04-21 19:52:57 -04: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
Erik Montnemery
1450b44c63
Sort manifests 7 (#87028) 2023-02-08 20:32:43 +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
GitHub Action
b81453cb6b [ci skip] Translation update 2023-01-16 00:24:22 +00:00
GitHub Action
b3ab0a0199 [ci skip] Translation update 2022-12-29 00:23:20 +00:00
epenet
d60fe7e7cd
Use UnitOfTemperature in integrations (n-o) (#84306) 2022-12-20 18:39:09 +01:00
Aaron Bach
ace20782f1
Clean up Notion config flow (and tests) (#84007)
* Clean up Notion config flow (and tests)

* Code review
2022-12-19 15:03:58 -07:00
GitHub Action
03154e1d83 [ci skip] Translation update 2022-12-03 00:21:50 +00:00
GitHub Action
230b50d099 [ci skip] Translation update 2022-11-29 00:26:01 +00: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
0be2a3f182 [ci skip] Translation update 2022-11-22 00:26:32 +00:00
GitHub Action
3bea04e387 [ci skip] Translation update 2022-11-21 00:26:41 +00:00
Aaron Bach
2af58ad609
Set integration type on codeowned integrations @bachya (#80974) 2022-10-25 22:23:54 +02:00
GitHub Action
388328adba [ci skip] Translation update 2022-10-17 00:36:39 +00:00
GitHub Action
230fe4453f [ci skip] Translation update 2022-10-12 00:40:30 +00:00
Aaron Bach
020b7e9762
Use entry.as_dict() in Notion diagnostics (#80114) 2022-10-11 19:14:35 +03:00
GitHub Action
ccef03f1d4 [ci skip] Translation update 2022-09-02 00:25:46 +00: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
Aaron Bach
dc30d97938
Add debug logging for unknown Notion errors (#76395)
* Add debug logging for unknown Notion errors

* Remove unused constant

* Code review
2022-08-07 14:51:00 -06:00
GitHub Action
32a2999b85 [ci skip] Translation update 2022-08-06 00:24:46 +00:00