Matthias Alphart
c0a3c7a4b7
Update pyfronius to 0.7.0 ( #57279 )
...
* update to pyfronius 0.7.0
* exception handling
* exception handling
2021-10-11 04:37:44 +02:00
Niels Mündler
6d049c724c
Add support for logger info in fronius integration ( #54795 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-08-22 18:57:18 +02:00
Erik Montnemery
6aca3b326f
Remove `last_reset` attribute and set state class to `total_increasing` for fronius energy sensors ( #54830 )
2021-08-18 16:57:19 +02:00
Erik Montnemery
87e7a8fb5f
Move temperature conversions to sensor base class - new integrations ( #54623 )
...
* Move temperature conversions to sensor base class
* Tweaks
* Update pvpc_hourly_pricing
* Fix flipr sensor
* Fix ezviz and youless sensor
2021-08-15 08:51:43 +02:00
Erik Montnemery
6de6a5dc14
Move temperature conversions to sensor base class (3/8) ( #54469 )
...
* Move temperature conversions to entity base class (3/8)
* Fix FritzBox sensor
* Fix tests
2021-08-12 14:23:56 +02:00
Niels Mündler
539ed56000
Refactor Fronius sensor device class and long term statistics ( #54185 )
2021-08-11 13:40:04 -07:00
Paulus Schoutsen
05a7853720
Add energy attributes to Fronius ( #53741 )
...
* Add energy attributes to Fronius
* Add solar
* Add power
* Only add last reset for total meter entities
* Only add last reset for total solar entities
* Create different entity descriptions per key
* only return the entity description for energy total
* Use correct key
* Meter devices keep it real
* keys start with energy_real
* Also device key starts with
* Lint
2021-07-29 23:34:03 -07:00
Niels Mündler
f0cd87e031
Reduce precision in returned values to meaningful digits ( #49382 )
2021-05-23 21:06:58 +02:00
Erik Montnemery
339a56e434
Migrate integrations f-h to extend SensorEntity ( #48212 )
2021-03-22 19:45:17 +01:00
Marc Mueller
91df3fa904
Update typing 06 ( #48039 )
2021-03-17 23:49:01 +01:00
Niels Mündler
f2ca4acff0
Limit fronius error messages on failed connection ( #45824 )
...
* Do not print several error messages on failed connection
* Change wrapping of exception, implement available
* Simplify exception flow
* Remove unnecessary init
* Add available property to actual entities
* Rebase and formatting
2021-02-15 18:28:28 +01:00
Matthias Alphart
93a9a11065
Add config validator helper positive_float ( #41640 )
2020-10-11 22:04:49 +02:00
Franck Nijhof
7653dc947a
Enable pylint unnecessary-pass ( #33650 )
...
* Enable pylint unnecessary-pass
* Process review suggestions
* Fix smhi tests
2020-04-05 10:33:07 +02:00
springstan
ad102b3840
Use f-strings in integrations starting with "F"and"G" ( #32150 )
...
* Use f-strings in integrations starting with F
* Use f-strings in tests for integrations starting with F
* Use f-strings in integrations starting with G
* Use f-strings in tests for integrations starting with G
* Fix pylint error
* Fix broken test
2020-02-24 17:54:20 -08:00
Bas Nijholt
ca0fad2cbb
Sort imports according to PEP8 for components starting with "F" ( #29766 )
2019-12-09 14:14:40 +01:00
Niels Mündler
87bc2134ad
Add each fronius sensor as own template ( #25608 )
...
* Fix formatting in history test
* Add each sensor as own template
* Make adapters non-entities
* Externalize and organize data fetching, improve system view
* Small fixes
Rename fetching adapters to adapters
throw away non-working system overviews
slightly change naming
remove scan_interval from schema
formatting
* Scan interval is already timedelta and unnecessary return
* Formatting
* Ensure better codestyle by storing cell variables explicitely in different places
2019-08-01 22:18:52 +02:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Niels Mündler
333e1d6789
Fronius (solar energy and inverter) component ( #22316 )
...
* Introduced fronius component that adds ability to track Fronius devices from Home Assistant
* Use device parameter for fetching inverter data
* Fixed handling of default scope
* Handle exceptions from yield
* Fulfill PR requirements
* Fixed houndci violations
* Found the last hound violation
* Fixed docstring (https://github.com/home-assistant/home-assistant/pull/11446#discussion_r165776934 )
* Fixed import order with isort (https://github.com/home-assistant/home-assistant/pull/11446#discussion_r165776957 )
* CONF_DEVICE is now CONF_DEVICEID (https://github.com/home-assistant/home-assistant/pull/11446#discussion_r165777161 )
* Added docstring to class FroniusSensor (https://github.com/home-assistant/home-assistant/pull/11446#discussion_r165777792 )
* Fixed docstring for state (https://github.com/home-assistant/home-assistant/pull/11446#discussion_r165777885 )
* Added/fixed docstrings (https://github.com/home-assistant/home-assistant/pull/11446#discussion_r165778108 & https://github.com/home-assistant/home-assistant/pull/11446#discussion_r165778125 )
* Remove redundant log entry (https://github.com/home-assistant/home-assistant/pull/11446#discussion_r165779213 )
* Fixed error message if sensor update fails (https://github.com/home-assistant/home-assistant/pull/11446#discussion_r165779435 )
* Fixed error log messages (https://github.com/home-assistant/home-assistant/pull/11446#discussion_r165779751 & https://github.com/home-assistant/home-assistant/pull/11446#discussion_r165779761 )
* Satisfy hound
* Handle exceptions explicit (https://github.com/home-assistant/home-assistant/pull/11446#discussion_r168940902 )
* Removed unnecessary call of update (https://github.com/home-assistant/home-assistant/pull/11446#discussion_r168940894 )
* The point makes the difference.
* Removed unrelated requirements
* Remove config logging (https://github.com/home-assistant/home-assistant/pull/11446#discussion_r168968748 )
* Reorder and fix imports (https://github.com/home-assistant/home-assistant/pull/11446#discussion_r168968725 , https://github.com/home-assistant/home-assistant/pull/11446#discussion_r168968691 )
* Update fronius requirement
* Various small fixes
* Small fixes
* Formatting
* Add fronius to coverage
* New structure and formatting
* Add manifest.json
* Fix data loading
* Make pylint happy
* Fix issues
* Fix parse_attributes
* Fix docstring and platform schema
* Make use of default HA-Const config values
* Change configuration setup, introducing list of monitored conditions
* Change the structure slightly, allowing for a list of sensors
* Remove periods from logging
* Formatting
* Change name generation, use variable instead of string
* small fixes
* Update sensor.py
* Incorporate correction proposals
* Setting default device inside validation
* Move import on top and small format
* Formatting fix
* Rename validation method to _device_id_validator
2019-06-28 20:48:52 -07:00