Franck Nijhof
5efb88f3f1
Remove deprecated YAML configuration from DSMR ( #61008 )
2021-12-05 17:09:37 +01:00
Marc Mueller
e0c0d00833
Use assignment expressions 39 ( #58829 )
2021-10-31 18:56:25 +01:00
Robert Hillis
fc3e7f5b7e
Use DeviceInfo Class D ( #58218 )
2021-10-22 17:00:00 +02:00
Erik Montnemery
7e9f8de7e0
Fix exception when shutting down DSMR ( #55441 )
...
* Fix exception when shutting down DSMR
* Update homeassistant/components/dsmr/sensor.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-30 12:08:21 +02:00
Erik Montnemery
ee009cc332
Fix DSMR startup logic ( #55051 )
2021-08-23 12:32:57 +02:00
Erik Montnemery
e134246cbd
Improve DSMR shutdown ( #54922 )
2021-08-20 15:54:05 +02:00
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
Bram Kragten
e23750b2a4
Add device class `gas` and enable statistics for it ( #54110 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-08-11 09:58:19 -07:00
Erik Montnemery
41f3c2766c
Move temperature conversions to entity base class (2/8) ( #54468 )
2021-08-11 18:57:12 +02:00
Emilv2
1012d823a0
Fix missing default reconnect interval in dsmr ( #53760 )
2021-08-02 14:54:33 +02:00
Franck Nijhof
390101720d
Fix DSMR reconnecting loop without timeout ( #53722 )
2021-07-29 22:55:26 +02:00
Franck Nijhof
27e69037d4
Use entity descriptions classes in DSMR ( #53549 )
2021-07-27 14:44:58 +02:00
Franck Nijhof
3b0f67acd1
DSMR: Add deprecation warning for YAML configuration ( #52179 )
2021-06-25 14:42:06 +02:00
Franck Nijhof
a2be9a487f
DSMR: Complete full strictly typed ( #52162 )
2021-06-24 11:27:25 -07:00
Franck Nijhof
34a317b847
DSMR: Device/state classes, icons, less common disabled by default ( #52159 )
2021-06-24 18:48:51 +02: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
afa00b7626
DSMR: Remove Gas derivative sensor ( #52147 )
2021-06-24 14:25:38 +02:00
Franck Nijhof
17357bf575
DSMR: Small cleanup; use entity class attributes ( #52143 )
2021-06-24 11:25:19 +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
Milan Meulemans
29d72714f3
Replace dict with DeviceInfo ( #49950 )
...
* Replace dict with DeviceInfo
* Clean up
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-02 00:37:19 +02:00
Ville Skyttä
631ab367e2
Fix typing.Any spelling ( #49673 )
2021-04-25 09:36:21 -10:00
Franck Nijhof
006bcde435
Remove HomeAssistantType alias - Part 3 ( #49339 )
2021-04-17 12:48:03 +02:00
Franck Nijhof
6932cf9534
Use contextlib.suppress where possible ( #48189 )
2021-03-23 14:36:43 +01:00
Erik Montnemery
23b562386f
Migrate integrations d-e to extend SensorEntity ( #48211 )
2021-03-22 12:52:29 +01:00
Marc Mueller
7c0734bdd5
Update typing 05 ( #48038 )
2021-03-17 23:43:55 +01:00
Rob Bierbooms
1244fb4152
Bump dsmr_parser to 0.28, configure keep_alive_interval ( #46464 )
2021-02-13 13:19:38 +01:00
Joeri
2811e39c5c
Add entity specific force_update for DSMR ( #46111 )
2021-02-08 15:18:36 +01:00
Paulus Schoutsen
a2ca08905f
Guard unbound var for DSMR ( #44673 )
2021-01-02 01:34:10 +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
1fe93b4ec9
Remove setting log level of dsmr_parser inside dsmr integration ( #43059 )
2020-11-10 22:13:26 +01:00
Rob Bierbooms
f470d1e28d
Enable polling for DSMR derivative entity ( #42524 )
2020-10-30 09:11:25 +01:00
Rob Bierbooms
79fac17c28
Add unique_id and device_info to DSMR entities ( #42279 )
...
* 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
be431ce12a
Set should_poll property for DSMR integration ( #42108 )
2020-10-20 12:14:09 +02:00
wouterbaake
1363fbb02a
Set force_update property for DSMR integration ( #42086 )
2020-10-20 09:45:43 +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
Paulus Schoutsen
cfaa851b5b
Revert DSMR not calling entity methods ( #36179 )
2020-05-26 22:11:40 -07:00
Paulus Schoutsen
aef06a3544
Directly call write state 2 ( #33513 )
...
* Directly call async_write_ha_state pt2
* Directly call async_write_ha_state pt2
* Fix mock
* Address comments
2020-04-03 09:34:50 +02:00
dupondje
f26826d949
Fix DSMR 5 ( #32233 )
...
DSMR 5 was broken because some wrong if.
if dsmr_version in ("5B"):
-> this checks dsmr_version against 5 and B. Not if its 5B.
2020-02-26 17:02:42 -08:00
springstan
a85808e325
Add and use time related constants ( #32065 )
...
* Add and use time related constants
* Sort time constants and reuse them in data rate constants
* Fix greeneyemonitor import
* Fix greeneyemonitor import V2
* Fix failing here_travel_time test
* Add TIME_MONTHS and TIME_YEARS
* Use TIME_MINUTES in opentherm_gw and isy994
* Add and use TIME_MILLISECONDS
* Change inconsistent ones
* Add TIME_MICROSECONDS and TIME_WEEKS
* Use constants in apcupsd and travisci
* Fix import error in upnp sensor.py
* Fix isy994 sensor.py using TIME_YEARS
* Fix dyson tests
* Use TIME_SECONDS in more places
* Use TIME_DAYS in google wifi
2020-02-23 22:09:24 +02:00
Paulus Schoutsen
41c55e695e
Fix typo in comment
2020-02-05 14:45:14 -08:00
dupondje
557f5763df
Add belgian meter and rename some dsmr sensors ( #30121 )
...
* Add support for belgian meter and rename some sensors
* DSMR Fixes
* Add test
* More tests
* Adjust test to latest dev
* Remove unused code
* Depend on dsmr_parser 0.18
2020-02-05 22:14:03 +01:00
Diefferson Koderer Môro
04dbe5bc84
Move imports in dsmr component ( #27974 )
...
* Move imports in dsmr component
* Review
* Fix tests
2019-10-22 18:50:49 +02:00
johnnychicago
10adae4b3b
Add ELECTRICITY_IMPORTED_TOTAL obis to dsmr ( #25655 )
2019-08-02 14:07:33 +02:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Paulus Schoutsen
4b256f3466
Reinstate passing loop to DSMR ( #24127 )
...
* Reinstate passing loop
* Also pass loop into other part
2019-05-29 11:13:29 -07:00
Paulus Schoutsen
f995ab9d54
Don't pass in loop ( #23984 )
...
* Don't pass in loop
* Revert some changes
* Lint + Axis revert
* reinstate loop
* Fix a test
* Set loop
* Update camera.py
* Lint
2019-05-22 21:09:59 -07:00
cgtobi
2c07bfb9e0
Remove dependencies and requirements ( #23024 )
...
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit fe7171b4cd
.
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit 391355ee2c
.
* Remove dependencies and requirements
* Fix flake8 complaints
* Fix more flake8 complaints
* Revert non-component removals
2019-04-12 10:13:30 -07:00
Tobias Sauerwein
048b100eea
Clean up docstrings ( #22679 )
...
* Clean up docstrings
* Fix long lines
* Fix more docstrings
* Fix more docstrings
* Fix more docstrings
2019-04-03 17:40:03 +02:00