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
GitHub Action
531733da7b
[ci skip] Translation update
2021-07-19 00:09:50 +00:00
GitHub Action
8f3166a955
[ci skip] Translation update
2021-07-18 00:10:14 +00:00
GitHub Action
e6e1118dd4
[ci skip] Translation update
2021-07-17 00:09:24 +00:00
GitHub Action
2ddaf746e6
[ci skip] Translation update
2021-07-12 00:09:46 +00:00
GitHub Action
b347226820
[ci skip] Translation update
2021-07-10 00:09:24 +00:00
GitHub Action
abc9b01ede
[ci skip] Translation update
2021-07-05 00:09:10 +00:00
GitHub Action
86f46753c9
[ci skip] Translation update
2021-07-01 00:12:17 +00:00
GitHub Action
5baaede85b
[ci skip] Translation update
2021-06-30 00:11:18 +00:00
GitHub Action
5c5e43afc1
[ci skip] Translation update
2021-06-28 00:10:15 +00:00
Franck Nijhof
3f49cdf9bf
DSMR: Use entry unload to unsub update listener ( #52220 )
2021-06-27 16:58:08 +02:00
GitHub Action
473ab98a67
[ci skip] Translation update
2021-06-27 00:09:39 +00:00
GitHub Action
cd9fa27f2a
[ci skip] Translation update
2021-06-26 00:10:53 +00:00
Franck Nijhof
3b0f67acd1
DSMR: Add deprecation warning for YAML configuration ( #52179 )
2021-06-25 14:42:06 +02:00
GitHub Action
febc276db9
[ci skip] Translation update
2021-06-25 00:12:31 +00: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
fbdd6a9d95
DSMR: Typing cleanup in init & config flow ( #52145 )
2021-06-24 12:53:16 +02:00
Franck Nijhof
17357bf575
DSMR: Small cleanup; use entity class attributes ( #52143 )
2021-06-24 11:25:19 +02:00
Franck Nijhof
780d538bb0
DSMR: Adding myself to the codeowners ( #52144 )
2021-06-24 11:23:20 +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
GitHub Action
c81df50191
[ci skip] Translation update
2021-06-06 00:19:43 +00:00
tkdrob
d1c4d0de49
Use bool annotations for setup entries ( #51166 )
2021-05-27 17:39:06 +02:00
tkdrob
c0656878db
Normalize async_setup_entry ( #51161 )
2021-05-27 15:56:20 +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
HomeAssistant Azure
04266301e9
[ci skip] Translation update
2021-05-03 00:05:16 +00: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
Franck Nijhof
e652ff3a6a
Clean up connection classes in integrations D-G ( #49890 )
2021-04-30 21:02:21 -10:00
J. Nick Koston
a67b9eff17
Reduce config entry setup/unload boilerplate D-F ( #49733 )
2021-04-26 20:46:49 -10:00
Ville Skyttä
631ab367e2
Fix typing.Any spelling ( #49673 )
2021-04-25 09:36:21 -10:00
Franck Nijhof
2de257f85f
Upgrade dsmr_parser to 0.29 ( #49417 )
2021-04-19 13:48:31 +02:00
Franck Nijhof
006bcde435
Remove HomeAssistantType alias - Part 3 ( #49339 )
2021-04-17 12:48:03 +02:00
Franck Nijhof
055cdc64c0
Add support for IoT class in manifest ( #46935 )
2021-04-15 10:21:38 +02:00
HomeAssistant Azure
93c68f8be6
[ci skip] Translation update
2021-04-13 00:04:04 +00: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
Franck Nijhof
6ec3234ccc
Clean up superfluous integration setup - part 2 ( #48478 )
2021-03-29 13:23:07 -10: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
HomeAssistant Azure
c11b85af2f
[ci skip] Translation update
2021-03-16 00:04:36 +00:00
Quentame
198ecb0945
Uniformize platform setup ( #47101 )
...
* A platform is not a component
* Fix dynalite
* SUPPORTED_PLATFORMS --> PLATFORMS
* In tests
* In tests 2
* Fix SmartThings
* Fix ZHA test
* Fix Z-Wave
* Revert Z-Wave
* Use PLATFORMS const in ambient_station
* Fix ihc comment
2021-03-02 21:43:59 +01:00
HomeAssistant Azure
0cb1f61deb
[ci skip] Translation update
2021-02-21 00:07:04 +00: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
959ed6d077
Update translations
2021-02-03 11:46:49 +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
a1e452170b
Bump dsmr-parser to 0.25 ( #44223 )
...
* Bump version in manifest
* Update requirements_all.txt
* Update requirements_test_all.txt
2020-12-15 04:45:24 +01:00
HomeAssistant Azure
9e1647d634
[ci skip] Translation update
2020-12-15 00:04:49 +00:00
HomeAssistant Azure
19ff83790e
[ci skip] Translation update
2020-12-12 00:06:00 +00:00
HomeAssistant Azure
a29f3e7163
[ci skip] Translation update
2020-12-11 00:04:19 +00:00
HomeAssistant Azure
848224262c
[ci skip] Translation update
2020-12-10 00:03:01 +00:00
HomeAssistant Azure
42f00cff30
[ci skip] Translation update
2020-12-04 00:05:42 +00:00
Franck Nijhof
f2a371257d
Translation update
2020-12-02 20:51:05 +01:00
HomeAssistant Azure
43955d3aa8
[ci skip] Translation update
2020-11-21 00:08:32 +00:00
Rob Bierbooms
7708da6713
Update dsmr_parser to 0.23 ( #43403 )
2020-11-20 16:47:47 +01:00
HomeAssistant Azure
9a21421807
[ci skip] Translation update
2020-11-15 00:03:48 +00:00
HomeAssistant Azure
d7f1deeb00
[ci skip] Translation update
2020-11-14 00:07:02 +00:00
Paulus Schoutsen
3404e6ded1
Update translations
2020-11-13 10:40:51 +01:00
HomeAssistant Azure
76b843118b
[ci skip] Translation update
2020-11-13 00:10:16 +00:00
HomeAssistant Azure
8a0907acf9
[ci skip] Translation update
2020-11-12 00:10:58 +00:00
Paulus Schoutsen
621a0a5dd2
Update translations
2020-11-11 13:25:22 +01:00
Paulus Schoutsen
54f3d9078a
Update translations
2020-11-11 12:10:09 +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
HomeAssistant Azure
57c6bb96f4
[ci skip] Translation update
2020-11-07 00:04:02 +00: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
Philip Allgaier
625bbe6238
Cleanup unused loggers (components A-M) ( #41600 )
2020-10-12 16:59:05 +02:00
HomeAssistant Azure
80522f1bdc
[ci skip] Translation update
2020-10-11 00:03:37 +00:00
HomeAssistant Azure
6ae12c3faf
[ci skip] Translation update
2020-10-10 00:05:05 +00:00
HomeAssistant Azure
29aea5a66c
[ci skip] Translation update
2020-10-09 00:04:33 +00:00
HomeAssistant Azure
486c0b644a
[ci skip] Translation update
2020-10-07 00:06:20 +00:00
HomeAssistant Azure
81c6d48cb4
[ci skip] Translation update
2020-10-02 00:05:51 +00: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
HomeAssistant Azure
587e3f1eb2
[ci skip] Translation update
2020-09-21 00:02:47 +00:00
HomeAssistant Azure
62c4e072f5
[ci skip] Translation update
2020-09-19 00:07:12 +00:00
HomeAssistant Azure
f28b7f2187
[ci skip] Translation update
2020-09-16 00:09:01 +00:00
HomeAssistant Azure
d0f4b23063
[ci skip] Translation update
2020-09-15 00:09:18 +00:00
HomeAssistant Azure
ee5c1ea3f7
[ci skip] Translation update
2020-09-12 00:05:00 +00:00
HomeAssistant Azure
39d441a29b
[ci skip] Translation update
2020-09-11 00:09:17 +00:00
HomeAssistant Azure
6e79d49c80
[ci skip] Translation update
2020-09-10 00:04:20 +00:00
HomeAssistant Azure
90892d275c
[ci skip] Translation update
2020-09-09 00:03:44 +00:00
HomeAssistant Azure
07d5af1969
[ci skip] Translation update
2020-09-08 00:04:13 +00:00
HomeAssistant Azure
c74f187b1f
[ci skip] Translation update
2020-09-07 00:03:02 +00:00
Rob Bierbooms
8567fe94e1
Add connection validation on import for dsmr integration ( #39664 )
2020-09-05 12:05:46 +02:00
HomeAssistant Azure
2183ff5906
[ci skip] Translation update
2020-09-05 00:04:17 +00:00
Rob Bierbooms
7f7a0003c7
Address review comments on dsmr update to ConfigEntry ( #39662 )
2020-09-04 20:56:22 +02:00
HomeAssistant Azure
bfd6989c75
[ci skip] Translation update
2020-09-04 00:04:26 +00: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
f1d3c0d19b
Remove unused manifest fields ( #33595 )
2020-04-03 12:58:19 -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
Franck Nijhof
fd4f8d92d2
Upgrade dsmr_parser to 0.18, re-enable tests ( #31256 )
2020-01-28 23:35:28 +01:00
Franck Nijhof
345cc244ed
Correct names in manifests (C-L) ( #30532 )
2020-01-07 08:19:17 +01:00
Franck Nijhof
a84741392b
Format all manifests with prettier ( #30521 )
2020-01-06 21:28:23 +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
Franck Nijhof
c7da781efc
Update documentation link URL for integrations in all manifests ( #27114 )
2019-10-02 09:25:44 -07: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
Paulus Schoutsen
cfe4cf30ad
Add manifests ( #22699 )
...
* Add manifests
* Update auto name
* Update codeowners
* Add requirements from platforms
* Minor cleanup
* Incorporate changes from awarecan PR
2019-04-03 21:14:45 -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
Penny Wood
f195ecca4b
Consolidate all platforms that have tests ( #22109 )
...
* Moved climate components with tests into platform dirs.
* Updated tests from climate component.
* Moved binary_sensor components with tests into platform dirs.
* Updated tests from binary_sensor component.
* Moved calendar components with tests into platform dirs.
* Updated tests from calendar component.
* Moved camera components with tests into platform dirs.
* Updated tests from camera component.
* Moved cover components with tests into platform dirs.
* Updated tests from cover component.
* Moved device_tracker components with tests into platform dirs.
* Updated tests from device_tracker component.
* Moved fan components with tests into platform dirs.
* Updated tests from fan component.
* Moved geo_location components with tests into platform dirs.
* Updated tests from geo_location component.
* Moved image_processing components with tests into platform dirs.
* Updated tests from image_processing component.
* Moved light components with tests into platform dirs.
* Updated tests from light component.
* Moved lock components with tests into platform dirs.
* Moved media_player components with tests into platform dirs.
* Updated tests from media_player component.
* Moved scene components with tests into platform dirs.
* Moved sensor components with tests into platform dirs.
* Updated tests from sensor component.
* Moved switch components with tests into platform dirs.
* Updated tests from sensor component.
* Moved vacuum components with tests into platform dirs.
* Updated tests from vacuum component.
* Moved weather components with tests into platform dirs.
* Fixed __init__.py files
* Fixes for stuff moved as part of this branch.
* Fix stuff needed to merge with balloob's branch.
* Formatting issues.
* Missing __init__.py files.
* Fix-ups
* Fixup
* Regenerated requirements.
* Linting errors fixed.
* Fixed more broken tests.
* Missing init files.
* Fix broken tests.
* More broken tests
* There seems to be a thread race condition.
I suspect the logger stuff is running in another thread, which means waiting until the aio loop is done is missing the log messages.
Used sleep instead because that allows the logger thread to run. I think the api_streams sensor might not be thread safe.
* Disabled tests, will remove sensor in #22147
* Updated coverage and codeowners.
2019-03-18 23:07:39 -07:00