From b8d311978b20e7de64edbe84a0c6a0bd22da09e5 Mon Sep 17 00:00:00 2001 From: Ivan Pavlina Date: Wed, 8 Apr 2020 14:16:19 +0200 Subject: [PATCH] Changed accounting sensor attribute --- custom_components/mikrotik_router/sensor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/mikrotik_router/sensor.py b/custom_components/mikrotik_router/sensor.py index 770e273..d5a0de9 100644 --- a/custom_components/mikrotik_router/sensor.py +++ b/custom_components/mikrotik_router/sensor.py @@ -124,7 +124,7 @@ SENSOR_TYPES = { DEVICE_ATTRIBUTES_ACCOUNTING = [ "address", "mac-address", - "comment" + "host-name" ]