Commit Graph
25 Commits
Author SHA1 Message Date
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
epenet 9580c4f1ec Use UnitOfTemperature in integrations (e-h) (#84305) 2022-12-20 18:29:16 +01:00
epenet 68857dc272 Use UnitOfTime in integrations (a-g) (#84288) 2022-12-20 13:22:20 +01:00
epenet 0184aadb09 Use UnitOfElectricPotential in integrations (#84044) 2022-12-15 13:59:21 +01:00
Aaron Bach a3bffdf523 Appropriately mark Guardian entities as unavailable during reboot (#75234) 2022-07-31 13:10:29 -07:00
Aaron Bach 630c28d253 Fix incorrect battery unit on paired Guardian sensors (#75402) 2022-07-22 11:24:07 +02:00
Aaron Bach b0261dd2eb Modify Guardian to store a single dataclass in hass.data (#75454)
* Modify Guardian to store a single dataclass in `hass.data`

* Clarity is better

* Allow entry unload to cancel task
2022-07-21 20:32:42 -06:00
Aaron Bach b3ef6f4d04 Simplify Guardian entity inheritance hierarchy (#75274) 2022-07-18 09:18:07 -06:00
epenetandepenet 3118bfdfab Use new enums in guardian (#61660)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-13 09:06:19 -05:00
Aaron Bach 6dd72869a6 Make sure Guardian data storage conforms to standards (#57809) 2021-10-22 12:25:05 +02:00
Aaron Bach 388761922b Add entity categories for appropriate Guardian entities (#58104) 2021-10-20 14:58:09 -07:00
Aaron Bach ae00c221e0 Add long-term statistics for Guardian sensors (#55413)
* Add long-term statistics for Guardian sensors

* Code review
2021-09-29 12:06:48 -06:00
Aaron Bach bf6d549910 Use EntityDescription - guardian (#55118) 2021-08-25 10:34:02 +02:00
Erik Montnemery 6de6a5dc14 Move temperature conversions to sensor base class (3/8) (#54469)
* Move temperature conversions to entity base class (3/8)

* Fix FritzBox sensor

* Fix tests
2021-08-12 14:23:56 +02:00
Aaron Bach c04671ac64 Fix unhandled exception with Guardian paired sensor coordinators (#53663) 2021-07-28 22:16:14 -07:00
Aaron Bach 1bde914075 Ensure Guardian is strictly typed (#53253) 2021-07-21 23:01:05 -07:00
Aaron Bach 6fa312d476 Remove redundant property definitions in Guardian (#52361)
* Remove redundant property definitions in Guardian

* Update incorrect attributes
2021-07-02 07:49:05 +02:00
Ruslan Sayfutdinov 0301706fc6 Define AddEntitiesCallback type (#49812) 2021-04-29 12:28:14 +02:00
Erik Montnemery 339a56e434 Migrate integrations f-h to extend SensorEntity (#48212) 2021-03-22 19:45:17 +01:00
Marc Mueller 9e1a6610dc Update typing 07 (#48057) 2021-03-18 08:02:55 +01:00
Aaron Bach 3a59f7c2b7 Address cleanup commentary for Guardian Paired Sensors (#41785) 2020-10-13 22:01:10 +02:00
Aaron Bach bb98f7ed1b Add support for Elexa Guardian paired sensors (#37930)
* Add support for Guardian paired sensors

* More work

* OOP

* More OOP

* Binary sensors looking good

* Entities all in place

* Looking good

* Linting

* Code review

* Code review

* Flake

* Fix removal

* Code review

* Linting

* Don't use potentially confusing method name

* Use CoordinatorEntity

* Linting

* Pylint

* Code review

* Code review
2020-10-12 21:41:57 -06:00
Bram Kragten 9ecaa10e51 Adjust icons for MDI bump (#37730) 2020-07-14 22:17:14 +02:00
Aaron Bach 0067b6a84d Transition Guardian to use a DataUpdateCoordinator (#37380)
* Migrate Guardian to use the DataUpdateCoordinator

* Finish work

* Cleanup

* Don't use UpdateFailed error

* Code cleanup

* Code cleanup

* Remove unnecessary change

* Code review

* Code review

* Use a subclass of DataUpdateCoordinator

* Make sure to pop client upon unload

* Adjust coverage
2020-07-05 16:09:40 -06:00
Aaron Bach 369745c4cf Add support for Elexa Guardian water valve controllers (#34627)
* Add support for Elexa Guardian water valve controllers

* Zeroconf + cleanup

* Sensors and services

* API registration

* Service bug fixes

* Fix bug in cleanup

* Tests and coverage

* Fix incorrect service description

* Bump aioguardian

* Bump aioguardian to 0.2.2

* Bump aioguardian to 0.2.3

* Proper entity inheritance

* Give device a proper name

* Code review
2020-05-26 08:47:25 -05:00