Sid
2cc916db6d
Replace pylint broad-except with Ruff BLE001 ( #116250 )
2024-05-07 14:00:27 +02:00
Niccolò Maggioni
f06b00c6d8
Fix hang in SNMP device_tracker implementation ( #112815 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-04-08 10:04:59 +02:00
Lex Li
1f37774352
Fix type cast in snmp ( #114795 )
2024-04-05 08:41:15 +02:00
Lex Li
2bc4a5067d
snmp: Better sensor support to resolve previous issues ( #113624 )
...
Co-authored-by: Christian Kühnel <christian.kuehnel@gmail.com>
Co-authored-by: jan iversen <jancasacondor@gmail.com>
2024-03-16 22:56:21 +01:00
Lex Li
92e73312ea
Bump pysnmp-lextudio
to version 6.0.11
( #113463 )
2024-03-14 16:19:18 -10:00
Lex Li
9974af39ac
Upgrade pysnmp-lextudio
to version 6.0.9
( #112795 )
2024-03-09 09:51:08 -10:00
Marc Mueller
aa16a9d707
Add empty line after module docstring (3) ( #112750 )
2024-03-08 20:38:34 +01:00
Paulus Schoutsen
f416d67d21
Remove built-in support for import_executor in manifest ( #112725 )
2024-03-08 12:02:32 -05:00
Maciej Bieniek
7cbe49520e
Downgrade pysnmp-lextudio
to version 5.0.34
( #112696 )
...
Downgrade pysnmp-lextudio to version 5.0.34
Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-03-08 08:54:00 -05:00
Marc Mueller
930a396712
Add empty line after module docstring [s] ( #112704 )
2024-03-08 14:33:51 +01:00
J. Nick Koston
0ff2106589
Import snmp in the executor to avoid blocking the event loop ( #112065 )
...
Do not mark for backport to 2024.3 as we are no longer backporting new ones
2024-03-02 17:19:09 -05:00
Maciej Bieniek
ee57c924f2
Bump pysnmp-lextudio
library to version 6.0.2 ( #111193 )
...
* Bump pysnmp-lextudio to version 6.0.2
* Update gen_requirements_all.py
---------
Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-02-24 11:30:00 +01:00
Joost Lekkerkerker
730d805876
Enable SIM114 ruff rule ( #111125 )
2024-02-23 13:21:59 +01:00
Maciej Bieniek
77283704a5
Bump brother
library, use pysnmp-lextudio
with SNMP integration ( #105591 )
2023-12-12 11:36:11 -10:00
Marc Mueller
ba91aaa28d
Add support for Python 3.12 ( #101651 )
2023-10-10 21:34:49 +02:00
G Johansson
61c17291fb
Move TemplateEntity to template ( #98957 )
...
* Move TemplateEntity to template
* Rename template_entity in helpers
2023-08-24 15:37:04 +02:00
G Johansson
31a8a62165
SNMP sensor refactor to ManualTriggerSensorEntity ( #98630 )
...
* SNMP to ManualTriggerSensorEntity
* Mods
2023-08-24 11:45:14 +02:00
Maciej Bieniek
6dc99d2ad8
Bump brother
and pysnmplib
backend libraries ( #89100 )
...
* Bump brother and pysnmplib
* Fix tests
2023-03-05 12:40:12 +01:00
Erik Montnemery
23fa500406
Sort manifests 9 ( #87030 )
2023-02-08 20:22:30 +01:00
Franck Nijhof
5e81d28116
Update black to 23.1.0 ( #87188 )
2023-02-02 18:35:24 +01:00
Stéphane Graber
5ebbeff42d
Add IPv6 support to snmp sensor ( #84607 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-12-28 01:12:08 +01:00
Maciej Bieniek
d9903c4cf9
Bump brother
and pysnmplib
( #84107 )
...
* Bump brother version
* Bump pysnmplib version
* Update sensor platform
* Update switch platform
* Update tests
* Bump brother
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-12-17 12:34:43 +01:00
epenet
f71313ee1e
Adjust get_scanner pylint checks ( #77944 )
2022-09-07 10:58:54 +02:00
epenet
0c767bd0d3
Improve entity type hints [s] (part 1/2) ( #77881 )
2022-09-06 13:35:14 +02:00
Erik Montnemery
e2327622c3
Migrate SNMP sensor to TemplateEntity ( #73324 )
2022-06-16 15:02:50 +02:00
Maciej Bieniek
75669dba6e
Use pysnmplib
instead of pysnmp
( #72645 )
...
* Use pysnmp and bump brother
* Fix mypy errors
* Bump brother version
2022-05-30 07:25:35 +02:00
Maciej Bieniek
904be03d72
Revert changing pysnmp
to pysnmplib
( #71901 )
2022-05-15 20:36:57 +02:00
Maciej Bieniek
85f698f873
Use pysnmplib
instead of pysnmp
( #69841 )
2022-04-11 07:45:48 -10:00
wchan-ranelagh
fc693001a1
Change default timeout for operations in SNMP component ( #68230 )
2022-03-17 10:10:46 +01:00
J. Nick Koston
5b755b74fb
Add loggers to integration manifest.json ( #65083 )
2022-01-28 13:37:53 -08:00
epenet
caff3e0630
Add type hints to get_scanner/async_get_scanner ( #63836 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-10 23:42:39 +01:00
epenet
992f9c3c6c
Add setup type hints [s] (part 2) ( #63479 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-05 17:34:18 +01:00
epenet
f456f68dff
Add switch setup type hints [s-z] ( #63305 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 16:44:20 +01:00
Marc Mueller
3f1b4906bf
Use assignment expressions 35 ( #58824 )
2021-10-31 18:32:17 +01:00
Marc Mueller
d5116810d4
Use assignment expressions 08 ( #57788 )
2021-10-17 20:02:42 +02:00
Erik Montnemery
e558b3463e
Move temperature conversions to sensor base class (6/8) ( #54476 )
...
* Move temperature conversions to entity base class (6/8)
* Fix tests
2021-08-12 17:40:55 +02:00
Daniel Hjelseth Høyer
fbad453c89
Pylint 2.9.3 ( #52972 )
...
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2021-07-14 21:44:57 -07:00
Ruslan Sayfutdinov
00208ff0d8
Use type safe import for device_tracker.PLATFORM_SCHEMA ( #50860 )
2021-05-21 13:08:40 +02:00
Franck Nijhof
055cdc64c0
Add support for IoT class in manifest ( #46935 )
2021-04-15 10:21:38 +02:00
Erik Montnemery
64bc9a8196
Migrate integrations r-s to extend SensorEntity ( #48215 )
2021-03-22 19:54:14 +01:00
Jérôme W
fd363f9c3a
Format SNMP sensor data which are not strings/counters ( #44823 )
2021-01-21 09:41:09 +01:00
Mich-b
a65e656c03
Add more SNMP variable types ( #33426 )
...
* added support for more SNMP variable types
* Fix SNMP pull request formatting
* retry fix linting errors
* Created SNMP vartype dict
* Moved to Integer instead of Integer32 as default vartype
* Update homeassistant/components/snmp/switch.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/snmp/switch.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/snmp/switch.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-05-01 19:31:39 +02:00
Erik Montnemery
066e921a8b
Rename SwitchDevice to SwitchEntity ( #34673 )
2020-04-26 18:50:37 +02:00
Paulus Schoutsen
f1d3c0d19b
Remove unused manifest fields ( #33595 )
2020-04-03 12:58:19 -07:00
Franck Nijhof
22760a0bee
Correct names in manifests (Q-S) ( #30543 )
2020-01-07 08:19:44 -05:00
Franck Nijhof
a84741392b
Format all manifests with prettier ( #30521 )
2020-01-06 21:28:23 +01:00
Bas Nijholt
23b92b2a56
Sort imports according to PEP8 for components starting with "S" ( #29777 )
2019-12-09 14:38:01 +01:00
Robin Pronk
c7d72f55e9
SNMP switch fix integer support ( #28425 )
2019-11-01 15:38:13 +01:00
Fabian Affolter
07337badcd
Upgrade pysnmp to 4.4.12 ( #28428 )
2019-11-01 14:28:38 +01:00
Michał Mrozek
e01562ceea
Move imports in snmp component ( #27939 )
...
* move imports in snmp component
* fix: move hlapi import top level
2019-10-20 10:06:32 +02:00