1
0
mirror of https://github.com/home-assistant/core.git synced 2025-05-15 11:29:15 +00:00

31 Commits

Author SHA1 Message Date
epenet
844259bd6c
Standardize homeassistant imports in component (s) () 2025-01-29 12:24:31 +01:00
Erik Montnemery
4dadf0ea1b
Remove unnecessary assignment of Template.hass from snmp () 2024-08-12 15:54:06 +02:00
epenet
c49fce5541
Force alias when importing sensor PLATFORM_SCHEMA () 2024-06-26 12:14:13 +02:00
J. Nick Koston
76391d71d6
Fix snmp doing blocking I/O in the event loop () 2024-05-31 07:44:28 -05:00
Sid
2cc916db6d
Replace pylint broad-except with Ruff BLE001 () 2024-05-07 14:00:27 +02:00
Lex Li
1f37774352
Fix type cast in snmp () 2024-04-05 08:41:15 +02:00
Lex Li
2bc4a5067d
snmp: Better sensor support to resolve previous issues ()
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
Marc Mueller
930a396712
Add empty line after module docstring [s] () 2024-03-08 14:33:51 +01:00
Maciej Bieniek
77283704a5
Bump brother library, use pysnmp-lextudio with SNMP integration () 2023-12-12 11:36:11 -10:00
Marc Mueller
ba91aaa28d
Add support for Python 3.12 () 2023-10-10 21:34:49 +02:00
G Johansson
61c17291fb
Move TemplateEntity to template ()
* 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 ()
* SNMP to ManualTriggerSensorEntity

* Mods
2023-08-24 11:45:14 +02:00
Maciej Bieniek
6dc99d2ad8
Bump brother and pysnmplib backend libraries ()
* Bump brother and pysnmplib

* Fix tests
2023-03-05 12:40:12 +01:00
Franck Nijhof
5e81d28116
Update black to 23.1.0 () 2023-02-02 18:35:24 +01:00
Stéphane Graber
5ebbeff42d
Add IPv6 support to snmp sensor ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-12-28 01:12:08 +01:00
Maciej Bieniek
d9903c4cf9
Bump brother and pysnmplib ()
* 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
0c767bd0d3
Improve entity type hints [s] (part 1/2) () 2022-09-06 13:35:14 +02:00
Erik Montnemery
e2327622c3
Migrate SNMP sensor to TemplateEntity () 2022-06-16 15:02:50 +02:00
wchan-ranelagh
fc693001a1
Change default timeout for operations in SNMP component () 2022-03-17 10:10:46 +01:00
epenet
992f9c3c6c
Add setup type hints [s] (part 2) ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-05 17:34:18 +01:00
Marc Mueller
d5116810d4
Use assignment expressions 08 () 2021-10-17 20:02:42 +02:00
Erik Montnemery
e558b3463e
Move temperature conversions to sensor base class (6/8) ()
* Move temperature conversions to entity base class (6/8)

* Fix tests
2021-08-12 17:40:55 +02:00
Erik Montnemery
64bc9a8196
Migrate integrations r-s to extend SensorEntity () 2021-03-22 19:54:14 +01:00
Jérôme W
fd363f9c3a
Format SNMP sensor data which are not strings/counters () 2021-01-21 09:41:09 +01:00
Fabian Affolter
07337badcd Upgrade pysnmp to 4.4.12 () 2019-11-01 14:28:38 +01:00
Michał Mrozek
e01562ceea Move imports in snmp component ()
* move imports in snmp component

* fix: move hlapi import top level
2019-10-20 10:06:32 +02:00
Paulus Schoutsen
4de97abc3a Black 2019-07-31 12:25:30 -07:00
Fabian Affolter
b60c815cde Share snmp constants across all platforms ()
* Share constants across all platforms

* Update .coveragerc
2019-05-06 23:31:03 +02:00
cgtobi
2c07bfb9e0 Remove dependencies and requirements ()
* Remove dependencies and requirements

* Revert "Remove dependencies and requirements"

This reverts commit fe7171b4cd30889bad5adc9a4fd60059d05ba5a7.

* Remove dependencies and requirements

* Revert "Remove dependencies and requirements"

This reverts commit 391355ee2cc53cbe6954f940062b18ae34b05621.

* Remove dependencies and requirements

* Fix flake8 complaints

* Fix more flake8 complaints

* Revert non-component removals
2019-04-12 10:13:30 -07:00
Tobias Sauerwein
048b100eea Clean up docstrings ()
* Clean up docstrings

* Fix long lines

* Fix more docstrings

* Fix more docstrings

* Fix more docstrings
2019-04-03 17:40:03 +02:00
Paulus Schoutsen
f5076188ef
Consolidate all platforms that have no tests ()
* Consolidate

* Fix tests

* Update imports

* Fix import

* Use importlib because integration and package share name

* Fix more tests

* Update .coveragerc and CODEOWNERS
2019-03-16 20:44:05 -07:00