Commit graph

100 commits

Author SHA1 Message Date
Michel van de Wetering
5650d7f5ca Format with black 2025-04-25 21:49:43 +02:00
Tomaae
4b610ba4e5
Fixed traffic sensor names, ref #306 2023-09-18 08:48:45 +02:00
Tomaae
15bc156d74
converted update sensors 2023-08-09 09:53:48 +02:00
Tomaae
cace2ae3e5
removed unnecessery MikrotikClientTrafficSensor 2023-08-09 09:25:33 +02:00
Tomaae
a21e95c36a
coordinator update 2023-08-08 00:50:09 +02:00
Tomaae
0af7bc184c
added wifi information sensors and binary sensors 2022-08-21 22:40:37 +02:00
Tomaae
0b4a7a3c72
Migrated to new entity naming style 2022-08-18 09:29:55 +02:00
Tomaae
d863afd7ca
added support for per entity services
refactored HA entity implementation
2022-03-27 03:29:36 +02:00
Michel van de Wetering
f20496b027 Use default_model and default_manufacturer 2022-03-23 14:07:36 +01:00
Tomaae
25a09498d6 Removed WAN prefix in RouterOS 7+ client bandwidth, fixes #155 2022-03-03 09:15:14 +01:00
Tomaae
7d76af5b79 removed DATA_CLIENT from DOMAIN 2022-02-18 08:06:10 +01:00
Tomaae
731cf6cde4 added state attributes to interface traffic sensors 2022-02-04 22:55:20 +01:00
Tomaae
bd1cc7925c redo ppp and interface binary sensors 2022-02-04 22:46:18 +01:00
Tomaae
663e177a82 renamed device info internal group attribute 2022-02-03 10:29:04 +01:00
Tomaae
a3e6761c78 renamed format_attribute to helper.py 2022-02-02 22:13:39 +01:00
Tomaae
79430ef1ef consolidated sensor update_items 2022-02-02 21:54:42 +01:00
Tomaae
6f7057b8b3 changed item_id postfix in sensor from name to data_reference 2022-02-02 21:07:23 +01:00
Tomaae
efb0bd8069 changed data source to data_path in sensor update loop 2022-02-02 21:00:34 +01:00
Tomaae
d7f63b3a50 removed duplicate via_device 2022-02-01 15:05:06 +01:00
Tomaae
867b66d500 added client name and manufacturer resolution for client traffic sensors 2022-02-01 14:45:54 +01:00
Tomaae
21f795c0de cleanup imports 2022-02-01 14:07:21 +01:00
Tomaae
fa8b64625c redo traffic sensors 2022-02-01 14:06:33 +01:00
Tomaae
74b46ed562 redo system sensors 2022-02-01 10:12:38 +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
a6566e20d4 Black formatting 2022-01-20 09:55:05 +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
1bc901cf9d added 7.1 support for system health #97
added voltage sensor #156
2022-01-08 22:07:31 +01:00
tomaae
6129e18cc3 Fixed sensor and binary sensor attributes #147 2021-12-16 06:16:02 +01:00
tomaae
e372ebbfff sensor entity code cleanup 2021-12-15 02:06:27 +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
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
59ce0618b0 Update to SensorEntity 2021-04-21 22:04:22 +02:00
tomaae
cc381dcaa7 Improve attribute formatting 2021-04-12 14:29:15 +02:00
tomaae
813455cc81 Removed temporary debug 2021-04-12 13:38:04 +02:00
tomaae
ab97fa60f7 black formatting 2021-04-12 10:01:21 +02:00
tomaae
7b616aee19 prepare info for SFP 2021-04-12 09:54:13 +02:00
tomaae
74b23d6a2d Fixed env grouping #94 2021-02-06 18:11:47 +01:00
tomaae
aebbf7c928 accounting sensor does not have to contain manufacturer #88 2021-01-19 18:01:07 +01:00
tomaae
b026c18cbc Fixed sensor icons 2020-12-28 13:07:28 +01:00
tomaae
95a8bdb888 Rewritten environment sensor 2020-12-26 00:12:53 +01:00
tomaae
88c79bcada Code cleanup 2020-12-25 20:28:36 +01:00
tomaae
68e0b4c288 Added fan icon for fan speed sensors #79 2020-12-25 15:50:41 +01:00
tomaae
496619b84f Added temp, power and fan sensors for CRS series #79 2020-12-25 15:48:07 +01:00