Commit graph

42 commits

Author SHA1 Message Date
Erik Montnemery
23fa500406
Sort manifests 9 () 2023-02-08 20:22:30 +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
f71313ee1e
Adjust get_scanner pylint checks () 2022-09-07 10:58:54 +02: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
Maciej Bieniek
75669dba6e
Use pysnmplib instead of pysnmp ()
* 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 () 2022-05-15 20:36:57 +02:00
Maciej Bieniek
85f698f873
Use pysnmplib instead of pysnmp () 2022-04-11 07:45:48 -10:00
wchan-ranelagh
fc693001a1
Change default timeout for operations in SNMP component () 2022-03-17 10:10:46 +01:00
J. Nick Koston
5b755b74fb
Add loggers to integration manifest.json () 2022-01-28 13:37:53 -08:00
epenet
caff3e0630
Add type hints to get_scanner/async_get_scanner ()
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) ()
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] ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 16:44:20 +01:00
Marc Mueller
3f1b4906bf
Use assignment expressions 35 () 2021-10-31 18:32:17 +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
Daniel Hjelseth Høyer
fbad453c89
Pylint 2.9.3 ()
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 () 2021-05-21 13:08:40 +02:00
Franck Nijhof
055cdc64c0
Add support for IoT class in manifest () 2021-04-15 10:21:38 +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
Mich-b
a65e656c03
Add more SNMP variable types ()
* 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 () 2020-04-26 18:50:37 +02:00
Paulus Schoutsen
f1d3c0d19b
Remove unused manifest fields () 2020-04-03 12:58:19 -07:00
Franck Nijhof
22760a0bee Correct names in manifests (Q-S) () 2020-01-07 08:19:44 -05:00
Franck Nijhof
a84741392b
Format all manifests with prettier () 2020-01-06 21:28:23 +01:00
Bas Nijholt
23b92b2a56 Sort imports according to PEP8 for components starting with "S" () 2019-12-09 14:38:01 +01:00
Robin Pronk
c7d72f55e9 SNMP switch fix integer support () 2019-11-01 15:38:13 +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
Jacob Mansfield
a712c9b9f5 SNMP Switch payloads are not guaranteed to be integers ()
Fixes 
2019-10-12 07:23:55 +02:00
Franck Nijhof
c7da781efc Update documentation link URL for integrations in all manifests () 2019-10-02 09:25:44 -07:00
Fabian Affolter
2fdbb3b4df Upgrade pysnmp to 4.4.11 () 2019-08-16 16:16:04 -07: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
Fabian Affolter
fca0891320 Upgrade pysnmp to 4.4.9 () 2019-05-05 07:26:13 +02:00
cgtobi
2c07bfb9e0 Remove dependencies and requirements ()
* Remove dependencies and requirements

* Revert "Remove dependencies and requirements"

This reverts commit fe7171b4cd.

* Remove dependencies and requirements

* Revert "Remove dependencies and requirements"

This reverts commit 391355ee2c.

* Remove dependencies and requirements

* Fix flake8 complaints

* Fix more flake8 complaints

* Revert non-component removals
2019-04-12 10:13:30 -07:00
Paulus Schoutsen
cfe4cf30ad
Add manifests ()
* Add manifests

* Update auto name

* Update codeowners

* Add requirements from platforms

* Minor cleanup

* Incorporate changes from awarecan PR
2019-04-03 21:14:45 -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