Removed temporary debug

This commit is contained in:
tomaae 2021-04-12 13:38:04 +02:00
parent 77acb4b9fe
commit 813455cc81

View file

@ -269,10 +269,6 @@ def update_items(inst, config_entry, mikrotik_controller, async_add_entities, se
new_sensors.append(sensors[item_id])
for sensor in SENSOR_TYPES:
# if SENSOR_TYPES[sensor][ATTR_ATTR] in mikrotik_controller.data[SENSOR_TYPES[sensor][ATTR_PATH]]:
# _LOGGER.debug("Defined sensor %s, value %s", sensor, mikrotik_controller.data[SENSOR_TYPES[sensor][ATTR_PATH]][
# SENSOR_TYPES[sensor][ATTR_ATTR]
# ])
if "system_" in sensor:
if (
mikrotik_controller.data[SENSOR_TYPES[sensor][ATTR_PATH]][