mdegat01
24289d5dbb
Refactor Influx logic to reduce V1 vs V2 code paths ( #37232 )
...
* refactoring to share logic and sensor startup error test
* Added handling for V1 InfluxDBServerError to start-up and runtime and test for it
* Added InfluxDBServerError test to sensor setup tests
* Raising PlatformNotReady exception from sensor for setup failure
* Proper testing of PlatformNotReady error
2020-06-30 20:02:25 +02:00
mdegat01
b96ce9c210
Additional testing for InfluxDB and some quality improvements ( #37181 )
...
* refactoring and added tests to sensor
* using caplog and not mocking main setup method in sensor tests
2020-06-29 17:31:49 +02:00
mdegat01
d454f85572
Add support for glob matching in InfluxDB filters ( #37069 )
...
* added support for glob filtering to influx
* removed print and using dataclass instead of namedtuple
2020-06-27 00:01:32 +02:00
mdegat01
f9bc0c9dab
Add influx 2.0 and InfluxCloud support to InfluxDB integration ( #35392 )
2020-06-12 21:29:46 +02:00
Paulus Schoutsen
c33edbe5bb
Use TestCase.addCleanup ( #36560 )
2020-06-08 12:26:40 -07:00
springstan
eae21be5b9
Improve string formatting v6 ( #33698 )
2020-04-07 23:14:28 +02:00
Franck Nijhof
906385172a
String formatting improvements for tests ( #33663 )
2020-04-05 00:26:08 +02:00
springstan
f1a0ca7cd3
Add and use percentage constant ( #32094 )
...
* Add and use percentage constant
* Fix pylint error and broken test
2020-02-28 11:46:48 -08:00
Bas Nijholt
14779ce3d0
Sort imports according to PEP8 for components starting with "I" ( #29769 )
2019-12-09 14:21:24 +01:00
springstan
27530be46f
Move imports to top for influxdb ( #29513 )
2019-12-06 17:35:35 +05:30
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Paulus Schoutsen
b8cc547fa3
Move components to folders ( #20774 )
...
* Move all components into folders
* Move component tests into folders
* Fix init moving
* Move tests
* Lint
* Update coverage
* Fix service descriptions
* Update CODEOWNERS
2019-02-05 19:31:15 -08:00