Sander Huisman
e7dfc89452
Add unique ID to InfluxDB sensor ( #65518 )
2022-02-06 18:40:37 +01:00
Mike Degatano
c1967abfca
Bump influxdb-client dependency to 1.24.0 ( #63397 )
2022-01-05 12:45:41 +01:00
Ville Skyttä
ce1eda9809
Use http.HTTPStatus in components/[ikl]* ( #58248 )
2021-10-22 23:06:18 +02:00
Ville Skyttä
7d03b02192
Spelling fixes ( #51642 )
2021-06-11 13:35:03 +02:00
Franck Nijhof
ad13a9295e
Merge multiple context managers in tests ( #48146 )
2021-03-27 09:17:15 +01:00
Erik Montnemery
f8755a52c2
Warn on undefined variables in templates ( #48140 )
...
* Warn on undefined variables in templates
* Add test
* fix tests
* fix tests
2021-03-20 15:16:04 +01:00
Franck Nijhof
5a2b5fe7c5
Yoda assertion style removed is ( #48142 )
2021-03-20 13:55:10 +01:00
Marc Mueller
54d1e9985f
Update typing 15 ( #48079 )
2021-03-18 15:13:22 +01:00
Alessandro Pilotti
8222eb5e3e
Allow Influxdb CA path in verify_ssl ( #45270 )
2021-02-01 23:29:31 +01:00
Franck Nijhof
65cf2fcb6f
Drop asynctest ( #44746 )
2021-01-01 22:31:56 +01:00
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