Commit Graph

8 Commits (53aed22d5caa23d946390ae45d9025861d42dedb)

Author SHA1 Message Date
Dave T eb10ff47df
Use new enums in p1_monitor tests (#62548) 2021-12-22 14:28:22 +01:00
Klaas Schoute 779ce6216c
Change unload for P1 Monitor (#62213) 2021-12-19 13:03:06 +01:00
Ville Skyttä 5bf67cac66
Use RegistryEntryDisabler (#60436) 2021-12-15 23:25:40 +02:00
Ville Skyttä 053c456199
Change device entry type to an StrEnum (#59940)
Co-authored-by: Ville Skyttä <ville.skytta@iki.fi>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-11-22 18:14:15 +01:00
Paulus Schoutsen 31153ac155
Move fixtures part 1 (#58902) 2021-11-01 20:47:05 -07:00
Klaas Schoute efbe8a8689
Fix unit of measurement for P1 Montior (#57495) 2021-10-22 18:24:12 +02:00
Klaas Schoute 6823b14d4c
Update entity names for P1 Monitor integration (#55430) 2021-08-29 20:29:37 -07:00
Klaas Schoute 68fbc0792a
Add P1 Monitor integration (#54738)
* Init integration P1 Monitor

* Fix build error

* Add quality scale

* Remove last_reset and icon

* Change list to tuple

* Close client on connection exception

* Change min value to 5 (seconds)

* the used python package will close it

* Remove the options flow

* Add session and close client

* Smash to a single DataUpdateCoordinator

* Make a custom update coordinator class

* await the coordinator close

* Add second await the coordinator close

* Close when exit scope

* Removed unused code

* Fix test_sensor on entity_id change

* Fix test on test_sensor

* Transfer SENSOR dict to sensor platform

* device class for cost entity update entity_name

* Revert name in unique id and update sensor test

* Update code based on suggestions

* Fix typing

* Change code to fix mypy errors

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-20 08:45:04 +02:00