Erik Montnemery
32a2c5d5db
Add support for Swedish smart electricity meters to DSMR ( #54630 )
...
* 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
a2be9a487f
DSMR: Complete full strictly typed ( #52162 )
2021-06-24 11:27:25 -07:00
Franck Nijhof
75c3daa45f
DSMR: Refactor sensor creation, added typing to sensors ( #52153 )
...
* 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
Franck Nijhof
fbdd6a9d95
DSMR: Typing cleanup in init & config flow ( #52145 )
2021-06-24 12:53:16 +02:00
Rob Bierbooms
aa56a21b45
Add config flow step user to dsmr ( #50318 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-06-24 10:16:08 +02:00
Ville Skyttä
19d25cd901
Change config entry state to an enum ( #49654 )
...
* Change config entry state to an enum
* Allow but deprecate EntryState str equality comparison
* Test fixes
* Rename to ConfigEntryState
* Remove str comparability backcompat
* Update new occurrences of strs cropped up during review
2021-05-20 19:19:20 +02:00
Franck Nijhof
e652ff3a6a
Clean up connection classes in integrations D-G ( #49890 )
2021-04-30 21:02:21 -10:00
Marc Mueller
2956eb0902
Update pylint to 2.7.3 ( #48488 )
...
* Update pylint to 2.7.3
* Add class-const-naming-style
* Remove unused-import message
* Additional cleanup
2021-03-29 18:02:56 -10:00
Marc Mueller
7c0734bdd5
Update typing 05 ( #48038 )
2021-03-17 23:43:55 +01:00
Rob Bierbooms
9531b08f2a
Add explicit support for Luxembourg Smarty meter in dsmr integration ( #43975 )
...
* Add support for Luxembourg Smarty meter
* Add config flow test
* Add sensor tests
2020-12-27 09:39:36 +01:00
Rob Bierbooms
930866bad5
Add MIN_TIME_BETWEEN_UPDATES to dsmr integration ( #43057 )
2020-11-11 09:21:07 +01:00
Rob Bierbooms
0856c7292c
Fix connection validation during import for dsmr integration ( #40548 )
...
* Close transport when equipment identifier is received
* Minor fix
2020-09-24 22:50:30 +02:00
Rob Bierbooms
8567fe94e1
Add connection validation on import for dsmr integration ( #39664 )
2020-09-05 12:05:46 +02:00
Rob Bierbooms
7f7a0003c7
Address review comments on dsmr update to ConfigEntry ( #39662 )
2020-09-04 20:56:22 +02:00
Rob Bierbooms
d0120d5e0a
Update DSMR integration to import yaml to ConfigEntry ( #39473 )
...
* 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