Commit graph

16 commits

Author SHA1 Message Date
J. Nick Koston
cd03c49fc2
Wait for config entry platform forwards (#73806) 2022-07-09 17:27:42 +02:00
Marc Mueller
5e633498d2
Enable no_implicit_reexport for core files [mypy] (#63820) 2022-01-26 10:55:06 +01:00
epenet
e248ef1dd7
Remove sma from mypy ignore list (#64510) 2022-01-20 09:22:18 +02:00
Robert Hillis
f028079815
Remove deprecated yaml config from sma (#62472)
Co-authored-by: René Klomp <rene@klomp.ws>
2022-01-04 16:04:16 +01:00
René Klomp
ac96c7bb1f
Move creation of DeviceInfo outside try statement in SMA (#59821) 2021-11-17 11:28:18 +01:00
René Klomp
a68563cefd
Add configuration_url to SMA integration (#59638) 2021-11-16 20:10:41 -06:00
Marc Mueller
4513ee4ea5
Use assignment expressions 12 (#57937) 2021-10-20 14:34:08 -07:00
René Klomp
d6ed5dac8b
Bump pysma to 0.6.1 (#52401) 2021-07-01 21:32:46 +02:00
René Klomp
540d6e9fa5
Use pysma exceptions (#52252) 2021-06-28 16:59:17 +02:00
René Klomp
5e721b2566
Update SMA device info on setup (#51159)
* Update device info on setup

* Remove migration
2021-06-28 15:32:29 +02:00
René Klomp
65f2fe9c01
Bump pysma version to 0.5.0 (#51098)
* Use new get_sensors method

* Update pysma requirement

* Update primary codeowner

* Update device_info handling

* Fix LEGACY_MAP

* Updated tests

* Fix pysma references

* Fix pylint raise-missing-from

* Better import of Sensors

* Remove software version related changes

* Revert codeowners change
2021-05-27 12:53:14 +02:00
J. Nick Koston
87420627a8
Reduce config entry setup/unload boilerplate Q-S (#49778) 2021-04-27 22:10:04 +02:00
Marc Mueller
c07646db5d
Update typing syntax (#49480)
* Update typing syntax

* Replace typing imports with ones from collections where possible

* Changes after review
2021-04-20 17:40:41 +02:00
René Klomp
12853438c5
SMA code quality improvement and bugfix (#49346)
* Minor code quality improvements
Thanks to @MartinHjelmare

* Convert legacy dict config to list

* Improved test

* Typo

* Test improvements

* Create fixtures in conftest.py
2021-04-20 10:59:02 +02:00
René Klomp
926c2489f0
Implement SMA config flow (#48003)
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Johann Kellerman <kellerza@gmail.com>
2021-04-13 06:21:01 -10:00
Paulus Schoutsen
f5076188ef
Consolidate all platforms that have no tests (#22096)
* Consolidate

* Fix tests

* Update imports

* Fix import

* Use importlib because integration and package share name

* Fix more tests

* Update .coveragerc and CODEOWNERS
2019-03-16 20:44:05 -07:00