Removed unnecessary logging

This commit is contained in:
Ivan Pavlina 2020-04-05 23:23:07 +02:00
parent 8767557e84
commit 2c577116f9
2 changed files with 1 additions and 5 deletions

View file

@ -202,8 +202,7 @@ def update_items(inst, mikrotik_controller, async_add_entities, sensors):
uid=uid,
)
new_sensors.append(sensors[item_id])
else:
_LOGGER.info(f"WONT CREATE {SENSOR_TYPES[sensor][ATTR_ATTR]} for {item_id}")
if new_sensors:
async_add_entities(new_sensors, True)