Commit Graph

67 Commits (d899d15a1e9e363715ffe80d0a8723a195b5c8bf)

Author SHA1 Message Date
popoviciri f79de2a5bc
Bump pysma to 0.6.6 & Fix Unit Checks (#56018) 2021-09-09 20:19:49 +02:00
GitHub Action 65d14909ee [ci skip] Translation update 2021-08-27 00:14:42 +00:00
Andre Richter 0fdea8ec8f
SMA: Add statistics support for power sensors (#54422) 2021-08-24 12:16:31 +02:00
Erik Montnemery 60f8e24bde
Remove last_reset attribute from sma energy sensors (#54814) 2021-08-18 13:58:08 +02:00
Erik Montnemery e558b3463e
Move temperature conversions to sensor base class (6/8) (#54476)
* Move temperature conversions to entity base class (6/8)

* Fix tests
2021-08-12 17:40:55 +02:00
René Klomp 14db83e4c1
Bump pysma to 0.6.5 (#53792) 2021-08-02 11:14:45 +02:00
GitHub Action 8c5620e74b [ci skip] Translation update 2021-08-02 03:40:04 +00:00
Bram Kragten 127c9fc877
Add statistics support for SMA energy sensors (#53589) 2021-07-28 01:48:22 +02:00
GitHub Action 531733da7b [ci skip] Translation update 2021-07-19 00:09:50 +00:00
René Klomp 23b0633ae2
Bump pysma to 0.6.4 (#52973) 2021-07-13 19:33:53 +02:00
GitHub Action b347226820 [ci skip] Translation update 2021-07-10 00:09:24 +00:00
René Klomp 7d87efc996
Bump pysma version to 0.6.2 (#52553) 2021-07-05 22:04:55 +02: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
GitHub Action 7615af35d8 [ci skip] Translation update 2021-06-07 00:18:16 +00:00
GitHub Action c81df50191 [ci skip] Translation update 2021-06-06 00:19:43 +00: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
HomeAssistant Azure 7df47664e8 [ci skip] Translation update 2021-05-12 00:04:03 +00:00
HomeAssistant Azure 6665a62557 [ci skip] Translation update 2021-05-09 00:04:11 +00:00
Ruslan Sayfutdinov 004fa63dbe
Use AddEntitiesCallback type, pt.3 (#49953) 2021-05-04 23:36:48 +02:00
Ruslan Sayfutdinov 786c5db5be
Use AddEntitiesCallback type, pt.4 (#49955) 2021-05-04 14:50:06 +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 8eb27374c6
Clean up connection classes in integrations P-S (#49893) 2021-04-30 21:04:44 -10:00
Ruslan Sayfutdinov 183220008d
Rename FlowResultDict to FlowResult (#49847) 2021-04-29 13:40:51 +02:00
J. Nick Koston 87420627a8
Reduce config entry setup/unload boilerplate Q-S (#49778) 2021-04-27 22:10:04 +02:00
Milan Meulemans 48695869f9
Change dict[str, Any] to FlowResultDict (#49546) 2021-04-22 17:23:15 -10:00
HomeAssistant Azure 69c1721c2a [ci skip] Translation update 2021-04-22 00:02:50 +00:00
HomeAssistant Azure 020d456889 [ci skip] Translation update 2021-04-21 00:03:47 +00: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
HomeAssistant Azure a67a45624d [ci skip] Translation update 2021-04-19 00:04:29 +00:00
Ville Skyttä 3a0b0380c7
Remove some unneeded pylint disables, update ref to util.process one (#49314) 2021-04-17 09:25:20 +02:00
HomeAssistant Azure 343b8faf9b [ci skip] Translation update 2021-04-17 00:03:46 +00:00
HomeAssistant Azure 283342bafb [ci skip] Translation update 2021-04-16 00:03:57 +00:00
Franck Nijhof 055cdc64c0
Add support for IoT class in manifest (#46935) 2021-04-15 10:21:38 +02:00
HomeAssistant Azure e86aad34b9 [ci skip] Translation update 2021-04-15 00:02:56 +00:00
HomeAssistant Azure 0b4b071c02 [ci skip] Translation update 2021-04-14 00:03:17 +00: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
Erik Montnemery 64bc9a8196
Migrate integrations r-s to extend SensorEntity (#48215) 2021-03-22 19:54:14 +01:00
Erik Montnemery 14ff6d4d1f
Update integrations p-s to override extra_state_attributes() (#47759) 2021-03-11 21:23:20 +01:00
tkdrob 84488b9c28
Use core constants for sma (#46501) 2021-02-13 18:21:15 -05:00
springstan 92379ad8d2
Use list literal without using dict.keys() (#42573) 2020-10-30 09:19:13 -05:00
springstan 8198970af9
Clean up ssl usage (#33960)
* Clean up ssl usage

* Revert config[CONF_SSL] from sonarr, radarr and mfi
2020-04-10 22:01:57 +02: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
Johann Kellerman ab3157e661
Upgrade pysma, fix #27154 (#31346) 2020-01-31 08:25:54 -08:00
Paulus Schoutsen e9e44dbd97
Fix callback and async (#31281)
* Fix callback and async

* Fix a return

* Fix test

* Fix mqtt tests

* Fix some more callbacks
2020-01-29 13:59:45 -08:00
Franck Nijhof 22760a0bee Correct names in manifests (Q-S) (#30543) 2020-01-07 08:19:44 -05:00