Commit graph

22 commits

Author SHA1 Message Date
Franck Nijhof
3a61a0de2e
Standardize EntityDescription in DSMR () 2022-07-07 22:38:10 +02:00
gigatexel
303ce715ed
Adapt DSMR integration to changes in dsmr_parser for Belgian/Dutch meters () 2022-06-23 09:15:16 +02:00
Franck Nijhof
99f68ab858
Update dsmr_parser to v0.33 () 2022-05-16 21:04:59 -07:00
rhpijnacker
0c2b5b6c12
Support DSMR data read via RFXtrx with integrated P1 reader ()
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-03-26 16:46:33 +01:00
gigatexel
a9c383a1e5
Correct naming for electrical energy meter () 2022-03-17 18:50:18 +01:00
Gunnar Klauberg
0f2e2aef2f
Add DSMR config options for EasyMeter/Q3D ()
Co-authored-by: Rob Bierbooms <mail@robbierbooms.nl>
2022-01-10 13:08:41 +01:00
rhpijnacker
32c416b646
Bump dsmr-parser dependency to 0.32 () 2022-01-05 22:50:00 +01:00
starkillerOG
c178fd0cc3
Add entity category to DSMR () 2021-12-18 13:53:21 +01:00
Marc Mueller
f57d42a9e8
Use platform enum (1) [A-D] ()
* Use platform enum (1) [A-D]

* Fix imports

* Fix tests

* Use Platform even in tests
2021-12-03 08:51:30 -08:00
Franck Nijhof
58fdcfb6b8
Use device/state class enums in DSMR () 2021-12-01 22:15:17 -05:00
Erik Montnemery
32a2c5d5db
Add support for Swedish smart electricity meters to DSMR ()
* Add support for Swedish smart electricity meters to DSMR

* Use Swedish protocol support from dsmr_parser

* Update tests

* Bump dsmr_parser to 0.30

* Remove last_reset attribute from Swedish energy sensors
2021-08-19 10:11:20 +02:00
Franck Nijhof
9dab920d01
DSMR: Remove icon from sensors with gas device class () 2021-08-17 14:26:02 +02:00
Erik Montnemery
35389a6d28
Remove last_reset attribute from dsmr sensors () 2021-08-16 18:35:50 +02:00
Bram Kragten
e23750b2a4
Add device class gas and enable statistics for it ()
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-08-11 09:58:19 -07:00
Franck Nijhof
27e69037d4
Use entity descriptions classes in DSMR () 2021-07-27 14:44:58 +02:00
Franck Nijhof
3f49cdf9bf
DSMR: Use entry unload to unsub update listener () 2021-06-27 16:58:08 +02:00
Franck Nijhof
34a317b847
DSMR: Device/state classes, icons, less common disabled by default () 2021-06-24 18:48:51 +02:00
Franck Nijhof
75c3daa45f
DSMR: Refactor sensor creation, added typing to sensors ()
* DSMR: Refactor sensor creation, added typing to sensors

* Log from package level

* Apply suggestions from code review

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-06-24 16:56:43 +02:00
Rob Bierbooms
930866bad5
Add MIN_TIME_BETWEEN_UPDATES to dsmr integration () 2020-11-11 09:21:07 +01:00
Rob Bierbooms
79fac17c28
Add unique_id and device_info to DSMR entities ()
* Add unique ids and device info

* Fix tests

* Add tests

* Apply suggestions from code review

Co-authored-by: Chris Talkington <chris@talkingtontech.com>

* Fix black

Co-authored-by: Chris Talkington <chris@talkingtontech.com>
2020-10-24 06:22:23 -05:00
Rob Bierbooms
8567fe94e1
Add connection validation on import for dsmr integration () 2020-09-05 12:05:46 +02:00
Rob Bierbooms
d0120d5e0a
Update DSMR integration to import yaml to ConfigEntry ()
* Rewrite to import from platform setup

* Add config flow for import

* Implement reload

* Update sensor tests

* Add config flow tests

* Remove some code

* Fix pylint issue

* Remove update options code

* Add platform import test

* Remove infinite while loop

* Move async_setup_platform

* Check for unload_ok

* Remove commented out test code

* Implement function to check on host/port already existing

Co-authored-by: Chris Talkington <chris@talkingtontech.com>

* Implement new method in import

* Update tests

* Fix test setup platform

* Add string

* Patch setup_platform

* Add block till done to patch block

Co-authored-by: Chris Talkington <chris@talkingtontech.com>
2020-09-03 16:19:45 -05:00