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
Paulus Schoutsen
f1d3c0d19b
Remove unused manifest fields ( #33595 )
2020-04-03 12:58:19 -07: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
Franck Nijhof
c7da781efc
Update documentation link URL for integrations in all manifests ( #27114 )
2019-10-02 09:25:44 -07: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