Fabian Affolter
123a7f9a63
Remove myself from InfluxDB codeowners ( #69964 )
2022-04-13 16:09:02 +02:00
Pablo Ovelleiro Corral
46b7b1ffb3
Increase timeout for InfluxDB v2 connections ( #63885 )
...
* Update influxdb timeout
* Update homeassistant/components/influxdb/const.py
Co-authored-by: Mike Degatano <michael.degatano@gmail.com>
Co-authored-by: Mike Degatano <michael.degatano@gmail.com>
2022-02-08 09:20:50 -05:00
Sander Huisman
e7dfc89452
Add unique ID to InfluxDB sensor ( #65518 )
2022-02-06 18:40:37 +01:00
J. Nick Koston
5b755b74fb
Add loggers to integration manifest.json ( #65083 )
2022-01-28 13:37:53 -08:00
Mike Degatano
c1967abfca
Bump influxdb-client dependency to 1.24.0 ( #63397 )
2022-01-05 12:45:41 +01:00
Mike Degatano
8d2cb82b1d
Update influxdb dependency to 5.3.1
( #62228 )
2022-01-04 13:49:43 +01:00
epenet
a9901356c3
Add sensor setup type hints [i-l] ( #63315 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 19:11:50 +01:00
epenet
1650332188
Add init type hints [h-j] ( #63187 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-02 16:31:48 +01:00
Marc Mueller
4f8148f9ea
Use assignment expressions 07 ( #57787 )
2021-10-17 20:24:34 +02:00
Marc Mueller
565a9fea6b
Import Callable from collections.abc (2) ( #56776 )
2021-09-29 14:06:51 +02:00
Erik Montnemery
2720ba2753
Move temperature conversions to sensor base class (4/8) ( #54472 )
...
* Move temperature conversions to entity base class (4/8)
* Fix litterrobot sensor
* Fix tests
2021-08-11 21:17:47 +02:00
broadcasttechie
ad730524c8
Reduce min scan interval to 10s for InfluxDB ( #53276 )
2021-07-26 14:32:42 +02:00
J. Nick Koston
3fa8ffa731
Enable mccabe complexity checks in flake8 ( #49616 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-04-25 12:38:40 +02:00
Franck Nijhof
055cdc64c0
Add support for IoT class in manifest ( #46935 )
2021-04-15 10:21:38 +02:00
Franck Nijhof
6932cf9534
Use contextlib.suppress where possible ( #48189 )
2021-03-23 14:36:43 +01:00
Erik Montnemery
fdf97eaca3
Migrate integrations i-m to extend SensorEntity ( #48213 )
2021-03-22 19:59:03 +01:00
Marc Mueller
283b4abe67
Update typing 09 ( #48059 )
2021-03-18 10:02:00 +01:00
Alessandro Pilotti
8222eb5e3e
Allow Influxdb CA path in verify_ssl ( #45270 )
2021-02-01 23:29:31 +01:00
Franck Nijhof
0e98bc5ea2
Skip template result parsing in several places ( #42408 )
...
* Skip template result parsing in several places
* Adjust alert integration
* Adjust Alexa integration
* Adjust apns integration
* Adjust arest integration
* Adjust dialogflow integration
* Adjust generic camera integration
* Adjust imap email content integration
* Adjust InfluxDB integration
* Adjust intent integration
* Adjust logbook integration
* Adjust HP ILO integration
* Adjust manual alarm control panel integration
* Adjust manual mqtt alarm control panel integration
* Adjust minio integration
* Adjust mqtt integration
* Adjust notify integration
* Adjust persistent notification integration
* Adjust rest integration
* Adjust rss feed template integration
* Adjust slack integration
* Adjust Xiaomi integration
* Adjust TCP integration
* Adjust Telegram Bot integration
* Bump CI cache version
* Revert "Bump CI cache version"
This reverts commit 875efe58cf
.
* Adjust demo tests
2020-10-26 19:29:10 +01:00
J. Nick Koston
5bba299e8f
Ensure event listener integrations do the queue insert as a callback ( #42265 )
2020-10-23 17:38:46 +02: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
springstan
f47d58d9c2
Remove unnecessary should poll from sensor classes ( #41219 )
...
* Remove unnecessary should poll from sensor classes
* Remove two more occurrences
2020-10-04 21:35:59 +02:00
twdkeule
052e8f0983
Add Influxdb precision option ( #38454 )
2020-09-19 04:42:03 +02:00
Ville Skyttä
b4bac0f7a0
Exception chaining and wrapping improvements ( #39320 )
...
* Remove unnecessary exception re-wraps
* Preserve exception chains on re-raise
We slap "from cause" to almost all possible cases here. In some cases it
could conceivably be better to do "from None" if we really want to hide
the cause. However those should be in the minority, and "from cause"
should be an improvement over the corresponding raise without a "from"
in all cases anyway.
The only case where we raise from None here is in plex, where the
exception for an original invalid SSL cert is not the root cause for
failure to validate a newly fetched one.
Follow local convention on exception variable names if there is a
consistent one, otherwise `err` to match with majority of codebase.
* Fix mistaken re-wrap in homematicip_cloud/hap.py
Missed the difference between HmipConnectionError and
HmipcConnectionError.
* Do not hide original error on plex new cert validation error
Original is not the cause for the new one, but showing old in the
traceback is useful nevertheless.
2020-08-28 13:50:32 +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
Jakub Bednář
c260b7fa16
Update influxdb-client dependency to 1.8.0, fix test write for InfluxDB v2 ( #37710 )
...
* chore: updated influxdb-client dependency to 1.8.0, fixed testing write for InfluxDB v2
* fix: code style
2020-07-10 16:56:36 +02:00
mdegat01
e379bfe383
Revert "Updated influxdb-client dependency to 1.8.0" ( #37396 )" ( #37697 )
...
This reverts commit 9964bd40ed
.
2020-07-10 05:05:55 +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
9964bd40ed
Updated influxdb-client dependency to 1.8.0 ( #37396 )
2020-07-08 15:36:54 -04:00
mdegat01
0a982f6fab
Fix Influx V1 test query ( #37309 )
2020-07-02 16:56:43 +02: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
b0e2f5f375
Add mdegat01 as code owner for InfluxDB ( #37227 )
2020-06-29 20:21:21 +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
pdcemulator
f37f488cc3
Add support for influxdb path parameter ( #35089 )
2020-05-02 22:12:54 -04:00
springstan
8198970af9
Clean up ssl usage ( #33960 )
...
* Clean up ssl usage
* Revert config[CONF_SSL] from sonarr, radarr and mfi
2020-04-10 22:01:57 +02:00
springstan
c20a965eda
Improve string formatting v3 ( #33667 )
...
* Improve string formatting v3
* Address review comment
2020-04-05 01:32:58 +02:00
Franck Nijhof
6f1900c6f4
Replace OSError aliases with OSError ( #33655 )
2020-04-04 22:09:11 +02:00
Paulus Schoutsen
f1d3c0d19b
Remove unused manifest fields ( #33595 )
2020-04-03 12:58:19 -07:00
springstan
157f972d72
Use f-strings in integrations starting with "H" - "L" ( #32265 )
...
* Use f-strings in integrations starting with "H"
* Use f-strings in integrations starting with "I"
* Use f-strings in integrations starting with "J"
* Use f-strings in integrations starting with "K"
* Use f-strings in integrations starting with "L"
* Fix lint error
* Use join instead of f-string in homekit_controller
* Use local variables with f-strings
* Fix lint error
* Escape the characters in f-string
* Sort imports with isort in homeworks light
* Fix pylint error
* Fix broken tests
* Fix broken tests v2
2020-02-28 12:39:29 +01:00
Franck Nijhof
345cc244ed
Correct names in manifests (C-L) ( #30532 )
2020-01-07 08:19:17 +01:00
Franck Nijhof
a84741392b
Format all manifests with prettier ( #30521 )
2020-01-06 21:28:23 +01:00
Ville Skyttä
e6388e186c
Remove unnecessary string literal concatenations ( #30360 )
2020-01-02 21:17:10 +02:00
springstan
27530be46f
Move imports to top for influxdb ( #29513 )
2019-12-06 17:35:35 +05:30
definitio
9c08c35881
Improve influxdb error handling ( #27225 )
2019-10-05 12:43:57 -07:00
Franck Nijhof
c7da781efc
Update documentation link URL for integrations in all manifests ( #27114 )
2019-10-02 09:25:44 -07:00
Franck Nijhof
d26273a9e9
Bump influxdb to 5.2.3 ( #26743 )
2019-09-19 14:38:58 -07:00