Rob Bierbooms
92f89213a3
Fix InfluxDB v2 API with write precision None ( #41937 )
2020-10-16 16:44:50 +02:00
Mark Bergsma
5fd2acdbef
Add influxdb config option 'measurement_attr' ( #36020 )
2020-10-14 22:49:57 +02:00
twdkeule
052e8f0983
Add Influxdb precision option ( #38454 )
2020-09-19 04:42:03 +02:00
springstan
d2b1918e9c
Drop UNIT_ prefix for percentage constant ( #39383 )
2020-09-05 21:09:14 +02:00
Franck Nijhof
1c2ebdf307
Upgrade black to 20.8b1 ( #39287 )
2020-08-27 13:56:20 +02:00
mdegat01
16e5d02794
Add `ignore_attributes` option to influxdb ( #37747 )
...
* Added ignore_attributes option and tests
* adjusted config for overlapping customization with ignore attrs
2020-07-16 09:42:02 +02:00
Paulus Schoutsen
8ed1a29c82
Drop white blacklist pt1 ( #37816 )
2020-07-13 17:43:11 +02:00
mdegat01
d60c52bbc7
Check buckets/dbs for validity during Influx sensor startup ( #37391 )
...
* Check buckets/dbs for validity during sensor startup
* Empty array instead of none
2020-07-08 15:37:43 -04:00
mdegat01
91799e2b52
Modified Influx tests to mock test queries with accurate output ( #37315 )
2020-07-02 17:52:46 -07:00
mdegat01
52f3238e17
Add constant for PlatformNotReady wait time to use in tests ( #37266 )
2020-07-01 08:42:57 -07:00
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