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
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
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
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
Aaron Bach
edf304718c
Migrate Notion to new entity naming style ( #74746 )
2022-07-10 21:41:12 +02:00
epenet
1e9e056671
Use new enums in notion ( #61950 )
2021-12-15 13:46:48 -07:00
Aaron Bach
595184aa55
Perform some Notion code cleanup ( #58863 )
2021-11-14 19:08:35 +01:00
Aaron Bach
03b1150115
Add entity categories for appropriate Notion entities ( #58105 )
2021-10-20 14:57:45 -07:00
Aaron Bach
b6ed8ca206
Make sure Notion data storage conforms to standards ( #57812 )
2021-10-16 23:59:36 -06:00
Aaron Bach
2dddd31d97
Simplify calcuation of Notion binary sensor state ( #55387 )
2021-08-28 21:30:44 -06:00
Aaron Bach
f92ba18a6b
Use EntityDescription - notion ( #55120 )
2021-08-25 10:42:57 +02:00
Aaron Bach
f44a13970a
Add missing type annotations to Notion ( #52599 )
2021-07-07 17:39:52 -05:00
Aaron Bach
60ea219101
Remove redundant property definitions in Notion ( #52367 )
...
* Remove redundant property definitions in Notion
* Code review
2021-07-01 11:24:19 +02:00
Ruslan Sayfutdinov
cbaeec2a4e
Use AddEntitiesCallback type, pt.2 ( #49921 )
2021-04-30 20:38:59 +02:00
Aaron Bach
b420c1ceb7
Fix Notion binary sensor bug due to API changes ( #45616 )
2021-01-27 20:41:03 +01:00
Aaron Bach
a4f7b7d784
Fix bug related to possibly missing task ID in Notion API data ( #43330 )
...
* Fix bug related to possibly missing task ID in Notion API data
* Calculate unique ID once
* Code review
* Simplify
* Code review
2020-11-22 20:15:38 -07:00
Aaron Bach
7921be1b5f
Fix incorrect Notion battery state calculation ( #43108 )
...
* Fix incorrect Notion battery state calculation
* Both cases
2020-11-12 10:47:47 -07:00
Aaron Bach
9b58b24b17
Fix API change with Notion batteries ( #43073 )
2020-11-10 18:00:04 -07:00
Philip Allgaier
dde6305549
Cleanup unused loggers (components N-Z + tests) ( #41982 )
2020-10-16 21:24:08 -05:00
springstan
621526bbae
Use moisture and moving device class in various integrations ( #39963 )
2020-09-13 16:33:54 +02:00
springstan
3d4ef8cfe1
Use connectivity device class constant in various integrations ( #39972 )
2020-09-12 13:21:57 -05:00
springstan
1bb5d4754f
Use DEVICE_CLASS_DOOR and DEVICE_CLASS_SMOKE in various integrations ( #39950 )
2020-09-12 07:35:24 -05:00
springstan
f93c0c5cd3
Use DEVICE_CLASS_WINDOW constant in various integrations ( #39949 )
2020-09-11 21:24:23 -05:00
J. Nick Koston
692ed8c639
Update notion to use CoordinatorEntity ( #39460 )
2020-08-30 13:02:56 -05:00
Aaron Bach
31e0ddaec5
Update Notion to use a DataUpdateCoordinator ( #38978 )
...
* Update Notion to use a DataUpdateCoordinator
* isort
* Bug
2020-08-21 08:10:12 -06:00
Erik Montnemery
b022e08db9
Rename BinarySensorDevice to BinarySensorEntity ( #34462 )
...
* Rename BinarySensorDevice to BinarySensorEntity
* Tweak
* Move deprecation warning to __new__, add test
* Move deprecation warning back to __init__
* Move deprecation warning to __init_subclass
2020-04-23 21:57:07 +02:00
Aaron Bach
1da35e2939
Add cleanup to Notion ( #32887 )
...
* Add cleanup to Notion
* Base update method
2020-03-17 07:01:40 -04:00
springstan
6af30bc232
Move imports to top for notion ( #29539 )
...
* Move imports to top for notion
* Fix mocking library in test_config_flow.py
2019-12-06 12:40:00 -07:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Aaron Bach
c2e843cbc3
Add support for Notion Home Monitoring ( #24634 )
...
* Add support for Notion Home Monitoring
* Updated coverage
* Removed auto-generated translations
* Stale docstrings
* Corrected hardware version
* Fixed binary sensor representation
* Cleanup and update protection
* Updated log message
* Cleaned up is_on
* Updated docstring
* Modified which data is updated during async_update
* Added more checks during update
* More cleanup
* Fixed unhandled exception
* Owner-requested changes (round 1)
* Fixed incorrect scan interval retrieval
* Ugh
* Removed unnecessary import
* Simplified everything via dict lookups
* Ensure bridges are properly registered
* Fixed tests
* Added catch for invalid credentials
* Ensure bridge ID is updated as necessary
* Updated method name
* Simplified bridge update
* Add support for updating bridge via_device_id
* Device update guard clause
* Removed excess whitespace
* Whitespace
* Owner comments
* Member comments
2019-07-09 10:29:06 +02:00