Commit Graph

60 Commits (faf0f5f19b4d062182b15ee35cd13416995ebc39)

Author SHA1 Message Date
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
Stephan Uhle 3859d2e2a6
Add edl21 sensor for positive active instantaneous power (#94736) 2023-08-08 10:35:31 +02:00
Joost Lekkerkerker ec120608c2
Add entity translations to edl21 (#95289) 2023-06-26 22:28:12 +02:00
Stephan Uhle 52a4561c7e
Code quality update for EDL21 (#94885) 2023-06-22 23:58:43 +02:00
Erik Montnemery af6dac8584
Remove unnecessary condition from edl21 sensor (#94493) 2023-06-12 21:48:49 +02:00
Stephan Uhle 64ee1e8e43
Bump pysml to 0.0.12 (#93686) 2023-05-29 19:41:32 +02:00
G Johansson 1f467fcc6a
Remove EDL21 YAML configuration (#93551) 2023-05-26 08:38:44 +02:00
Stephan Uhle 55c675d0fd
Bump pysml to 0.0.11 (#93035)
Updated pysml to 0.0.11
2023-05-15 09:15:22 +02:00
Stephan Uhle d14af51f56
Add debug logs for EDL21 (#92763) 2023-05-07 21:24:42 +02:00
Stephan Uhle b56f0ad668
Remove unused attributes in EDL21 integration (#91922) 2023-04-25 09:50:23 +02:00
Stephan Uhle beb0085b53
Bump pysml to 0.0.10 (#91773) 2023-04-21 08:16:32 +02:00
Stephan Uhle 3c536e31eb
Fix ha version in EDL21 deprecation warning (#90699)
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-04-03 10:48:06 +02:00
Stephan Uhle c45fb85f17
Bump pysml to 0.0.9 (#89603) 2023-03-13 08:25:59 +01:00
Stephan Uhle 17c0e18776
Code quality update for EDL21 (#89561)
Enhance code quality.
2023-03-13 08:04:24 +01:00
Stephan Uhle 3796a73856
Add device info to edl21 (#89327) 2023-03-09 19:08:55 +01:00
Franck Nijhof c7b30b61de
Revert "Add device info to edl21" (#89217) 2023-03-06 08:51:33 +01:00
Stephan Uhle fc673139cd
Add device info to edl21 (#89070)
* Added device info for edl21.

* Apply suggestions from code review
2023-03-06 08:29:41 +01:00
Stephan Uhle 9736fe1f99
Add missing Edl21 sensor 1-0:0.0.0*255 (#87389)
* Added missing sensor.

* OwnerShip entity is disabled by default.
2023-03-03 13:44:57 +01:00
Stephan Uhle adb0455bd2
Add config flow to EDL21 (#87655)
* Added config_flow for edl21.

* Added already_configured check.

* Added config_flow test

* Added setup of the edl21 from configuration.yaml

* Ran script.gen_requirements_all

* Removed the generated translation file.

* Added a deprecation warning when importing from configuration.yaml.

* Readded the platform schema.

* Added handling of optional name for legacy configuration.

* Fixed handling of default value in legacy configuration.

* Added duplication check entries created via legacy config.

* Apply suggestions from code review

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Apply suggestions from code review

* Apply suggestions from code review

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Apply suggestions from code review

---------

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-03-01 21:19:20 +01:00
Erik Montnemery 78c9b70c8d
Sort manifests 3 (#87024) 2023-02-08 20:19:19 +01:00
epenet e40df09098
Improve type hints in edl21 (#87267) 2023-02-03 17:09:16 +01:00
epenet 0dd20fb309
Use UnitOfEnergy in integrations (a-n) (#84220) 2022-12-19 11:06:00 +01:00
epenet 0184aadb09
Use UnitOfElectricPotential in integrations (#84044) 2022-12-15 13:59:21 +01:00
epenet 946d5535b4
Use UnitOfFrequency in integrations (#83915) 2022-12-13 11:47:06 +01:00
epenet 4fe025b297
Use UnitOfPower in integrations [a-g] (#83812) 2022-12-12 11:48:09 +01:00
epenet 7c3ca38eb7
Use UnitOfElectricCurrent in integrations (#83622) 2022-12-09 10:51:26 +01:00
mtdcr 93d4d02aac
Remove myself from edl21 codeowners (#80947) 2022-10-25 14:38:42 +02:00
Geliras d9af274da3
Add edl21 sensors (#80214)
* Adding unhandled sensors

Adding unhandled sensors as mentioned here:
https://github.com/home-assistant/core/issues/78599
https://github.com/home-assistant/core/issues/64696

OBIS codes of EFR SGM-C4 from manual found at page 32:
https://www.mit-n.de/fileadmin/user_upload/Dateien/Messwesen/Messwesen_Strom/EFR-SGM-C4-Produkthandbuch.pdf

* Update sensor.py
2022-10-14 08:23:50 +02:00
epenet a46c25d2c8
Use _attr_should_poll in components [a-g] (#77268) 2022-08-26 10:15:33 +02:00
epenet 3a3f41f3df
Improve entity type hints [e] (#77041) 2022-08-20 07:52:55 +02:00
Stephan Uhle d8392ef6ba
Add edl21 sensor unit mapping for Hz (#76783)
Added sensor unit mapping for Hz.
2022-08-19 13:28:03 +02:00
David Straub cb4d2d1b26
Bump pysml to 0.0.8 (fixes #74382) (#74875) 2022-07-10 12:49:18 +02:00
Stephan Uhle cdcfd1149e
Fixed unit of measurement. #70121 (#74838) 2022-07-09 22:22:30 +02:00
epenet 19fdc3e630
Cleanup deprecated async_get_registry in edl21 (#72063) 2022-05-18 13:18:08 +02:00
Erik Montnemery 68c2b63ca1
Fix issue creation links in log messages (#71638) 2022-05-10 15:22:12 +02:00
Marc Mueller 4f20a8023b
Use assignment expressions [A-I] (#66880) 2022-02-19 17:21:26 +01:00
Stephan Uhle a4904bd9bc
Add Edl21 unit of measurement mapping (#64926) 2022-01-30 23:01:20 +01:00
J. Nick Koston 5b755b74fb
Add loggers to integration manifest.json (#65083) 2022-01-28 13:37:53 -08:00
Andreas Oberritter 88b2baa880
Bump pysml to 0.0.7 (#64798) 2022-01-24 01:23:28 +02:00
Stephan Uhle dafc071214
Add edl21 sensor state class and device class (#56968) 2022-01-19 23:03:44 +01:00
Andreas Oberritter 798eb77110
Bump pysml to 0.0.6 (#63664) 2022-01-08 12:54:31 +01:00
Marc Mueller ea7252e377
Use assignment expressions 21 (#57970) 2021-10-20 17:47:46 +02:00
Erik Montnemery 41f3c2766c
Move temperature conversions to entity base class (2/8) (#54468) 2021-08-11 18:57:12 +02:00
pdcemulator 1265aa0f64
Add edl21 OBIS IDs for DZG DWS76 (#53029) 2021-08-02 16:58:45 +02:00
jan iversen 15ec9fbf6c
Late review comment in edl21 (#53464)
* Late review comment.

* Review comment.

* pylint.

* Update homeassistant/components/edl21/sensor.py

* Callback typing.

* Complete typing

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-07-25 18:59:14 -04:00
jan iversen 8f61efe714
Correct typing in edl21 and activate mypy. (#53188) 2021-07-20 21:53:56 -05:00
Franck Nijhof 055cdc64c0
Add support for IoT class in manifest (#46935) 2021-04-15 10:21:38 +02:00
Andreas Oberritter e9f0891354
Add edl21 OBIS IDs for Holley DTZ541-ZEBA (#49170) 2021-04-13 17:49:28 +02:00
Marc Mueller 106dc4d28a
Don't import stdlib typing types from helpers.typing (#49104) 2021-04-12 18:43:14 +02:00
Andreas Oberritter e1d4d65ac4
Bump pysml to 0.0.5 (#49014) 2021-04-10 20:16:28 +02:00