Commit Graph

19 Commits (4dc70536b6b15bd4c919ab0b9475b2fa7e87378e)

Author SHA1 Message Date
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 b6ed8ca206
Make sure Notion data storage conforms to standards (#57812) 2021-10-16 23:59:36 -06:00
Aaron Bach daa9c8d856
Add -term statistics for Notion sensors (#55414) 2021-08-30 19:07:05 +02:00
Aaron Bach f92ba18a6b
Use EntityDescription - notion (#55120) 2021-08-25 10:42:57 +02:00
Erik Montnemery 103e21c278
Move temperature conversions to sensor base class (5/8) (#54475) 2021-08-12 13:26:17 +02:00
Erik Montnemery d1f3c20079
Set device_class on temperature sensors L-Q (#52919) 2021-07-12 20:41:45 +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
Maciej Bieniek e06a2a53c4
Add constructor return type in integrations L-N (#50888)
* Add constructor return type in integrations L-N

* Small fix
2021-05-20 13:06:44 +01:00
Ruslan Sayfutdinov cbaeec2a4e
Use AddEntitiesCallback type, pt.2 (#49921) 2021-04-30 20:38:59 +02:00
Erik Montnemery c900e3030b
Migrate integrations n-q to extend SensorEntity (#48214) 2021-03-22 19:46:46 +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 b4381c5005
Move Notion logger to a package logger (#43450) 2020-11-20 22:47:48 +01: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
Aaron Bach 1da35e2939
Add cleanup to Notion (#32887)
* Add cleanup to Notion

* Base update method
2020-03-17 07:01:40 -04: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