EntityUpdateEvent traces can now be logged on INFO level

The EntityUpdateEvents generated by light.hue are now less noisy.
This commit is contained in:
Fabio Manganiello 2023-01-21 14:50:05 +01:00
parent 247912799f
commit 4d762b81dc
Signed by: blacklight
GPG key ID: D90FBA7F76362774

View file

@ -1,4 +1,3 @@
import logging
from typing import Union from typing import Union
from platypush.entities import Entity from platypush.entities import Entity
@ -18,9 +17,6 @@ class EntityUpdateEvent(EntityEvent):
a sensor, a media player etc.) updates its state. a sensor, a media player etc.) updates its state.
""" """
def __init__(self, *args, logging_level=logging.DEBUG, **kwargs):
super().__init__(*args, logging_level=logging_level, **kwargs)
class EntityDeleteEvent(EntityEvent): class EntityDeleteEvent(EntityEvent):
""" """