Commit graph

380 commits

Author SHA1 Message Date
Tomaae
d96dac86a4 bump librouteros to 3.2.0 2022-01-31 09:59:48 +01:00
Tomaae
14b98c7bed cleanup system/health 2022-01-31 09:57:16 +01:00
Tomaae
f1268ad1b7 Fixed listeners unload after integration is removed 2022-01-24 13:45:42 +01:00
Tomaae
556d550799 Redid integration setup to setup platform 2022-01-24 13:43:00 +01:00
Tomaae
07a9db9854 Destroy integration data only after unload platform is successful 2022-01-24 13:38:32 +01:00
Tomaae
a918a039ab Redid integration remove to unload platform 2022-01-24 12:47:19 +01:00
Tomaae
3b95198ad8 Added exception on connection failure during startup. 2022-01-24 11:50:58 +01:00
Tomaae
8d3e86a988 Merge remote-tracking branch 'origin/master' 2022-01-21 15:50:42 +01:00
Tomaae
8f7202d418 Format serial number #161 2022-01-21 15:50:25 +01:00
Ivan Pavlina
c7c58fa08a Removing duplicated methods 2022-01-20 20:51:45 +01:00
Ivan Pavlina
a4391c3460 log line modified 2022-01-20 20:10:16 +01:00
Ivan Pavlina
66c768a271 black... 2022-01-20 12:11:33 +01:00
Ivan Pavlina
a6566e20d4 Black formatting 2022-01-20 09:55:05 +01:00
Ivan Pavlina
926803589d bugfix, first run was not properly calculated 2022-01-20 09:54:40 +01:00
Ivan Pavlina
311f3715d9 Adding error log and writing it once on missing kid-control-devices data 2022-01-20 09:54:40 +01:00
Ivan Pavlina
88c5bf1e2f bugfix, delta needs to be multiplied by 8 to get bits count, original value is in bytes 2022-01-20 09:54:40 +01:00
Ivan Pavlina
7ffb5202ec Modified checking of sensor type name logic to prevent false positives. Removed excessive logging. 2022-01-20 09:54:40 +01:00
Ivan Pavlina
e93b02e71d Accounting feature renamed to Client traffic. In case of older firmware fallback to accounting fetature for client traffic monitoring, instead use kid-control-devices 2022-01-20 09:54:40 +01:00
Tomaae
0120409382
Merge pull request #134 from kittizz/master
add more unique key mangle role
2022-01-09 01:16:10 +01:00
Tomaae
1bc901cf9d added 7.1 support for system health #97
added voltage sensor #156
2022-01-08 22:07:31 +01:00
Tomaae
1206793dc3 implemented scripts to button entity 2022-01-08 21:05:50 +01:00
Tomaae
fd73bd0610 Black #147 2022-01-02 14:40:12 +01:00
ddanssaert
873d18e60a added support for overriding zone name in device_tracker 2021-12-16 22:45:29 +01:00
tomaae
6129e18cc3 Fixed sensor and binary sensor attributes #147 2021-12-16 06:16:02 +01:00
tomaae
b04a0a5b26 Added status, rate, duplex and negotiation status to ethernet ports #146 2021-12-15 23:07:11 +01:00
tomaae
052c1f1e7d Kid control implementation for both disable and pause #147 2021-12-15 22:16:00 +01:00
tomaae
d373149c02 sensor entity code cleanup fix 2021-12-15 22:15:21 +01:00
tomaae
e372ebbfff sensor entity code cleanup 2021-12-15 02:06:27 +01:00
tomaae
86a4dd358f Added Device_class for firmware update binary sensor, fixes #137 2021-12-14 20:59:59 +01:00
tomaae
fd99539e22 Black formatting 2021-12-13 14:02:25 +01:00
tomaae
f82f9e9c3e Added Device_class for firmware update binary sensor, fixes #137 2021-12-13 13:50:53 +01:00
tomaae
274de8c6fd Added entity category support 2021-12-13 13:45:07 +01:00
tomaae
448483da22 Merged System category
Added Visit Device URL
2021-12-13 13:26:46 +01:00
tomaae
74a4a367dd The use of the DEVICE_CLASS_* constants and DEVICE_CLASSES constants in all entity platforms, has now been depreacted. Instead, use the equavalent DeviceClass StrEnum provided by each platform. 2021-12-13 11:42:55 +01:00
tomaae
e10ab3e0ee Replaced device_state_attributes for extra_state_attributes, fixes #152 2021-12-13 10:59:36 +01:00
Marti Markov
526b29ca67
Add measurement to TrafficSensor
Enables the usage of TrafficSensor within the statistics card
2021-11-07 17:07:43 +00:00
tomaae
d9eaf47e10 Fixed empty comments as tracker entity name (hash as first character) #130 2021-09-24 22:07:35 +02:00
Kittizz
3cdcfbeb30 ":" to "-" 2021-08-24 19:24:50 +07:00
Kittizz
d4076714b7 Update mikrotik_controller.py 2021-08-24 18:26:38 +07:00
Kittizz
c29b7a9873 add more 'mangle' unique key 2021-08-24 18:24:41 +07:00
tomaae
40f95e95f2 Some devices have manufacturer name "detect" #127 2021-05-23 01:17:54 +02:00
Sergio Mayoral Martinez
627641b5d9 Fix lint and tomaae's comments 2021-05-14 13:11:16 +02:00
Sergio Mayoral Martinez
d6023abc30 Convert uptime sensor to new timestamp standard Home Assistant format
Fixes #118
2021-05-14 10:16:06 +02:00
Sergio Mayoral Martinez
2257a563bf Add device_class attributes to valid sensors
Fixes #119
2021-05-13 13:35:54 +02:00
tomaae
cfd26adeee Added iot_class class to manifest 2021-05-06 02:32:11 +02:00
tomaae
84e8046943 Added connections to device registry, fixes #114 2021-05-04 17:15:07 +02:00
tomaae
59ce0618b0 Update to SensorEntity 2021-04-21 22:04:22 +02:00
tomaae
95bf989f44 Query interface monitor by interface id #104 2021-04-13 13:43:06 +02:00
tomaae
cc381dcaa7 Improve attribute formatting 2021-04-12 14:29:15 +02:00
tomaae
3bf4c56254 Added SFP support #94 2021-04-12 14:28:39 +02:00