Skip to content

Commit 4ef949e

Browse files
authored
Remove explicit LOGGER.setLevel to avoid spamming home-assistant.log (#13)
1 parent c4aa1c8 commit 4ef949e

File tree

4 files changed

+0
-4
lines changed

4 files changed

+0
-4
lines changed

custom_components/precoscombustiveis/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212

1313
__version__ = "1.1.0"
1414
_LOGGER = logging.getLogger(__name__)
15-
_LOGGER.setLevel(logging.DEBUG)
1615

1716
PLATFORMS: list[str] = ["sensor"]
1817

custom_components/precoscombustiveis/config_flow.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
from .const import DOMAIN, CONF_STATIONID
1313

1414
_LOGGER = logging.getLogger(__name__)
15-
_LOGGER.setLevel(logging.DEBUG)
1615

1716
DATA_SCHEMA = vol.Schema(
1817
{

custom_components/precoscombustiveis/dgeg.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
)
1010

1111
_LOGGER = logging.getLogger(__name__)
12-
_LOGGER.setLevel(logging.DEBUG)
1312

1413

1514
class Station:

custom_components/precoscombustiveis/sensor.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
from .dgeg import DGEG, Station
2424

2525
_LOGGER = logging.getLogger(__name__)
26-
_LOGGER.setLevel(logging.DEBUG)
2726

2827
# Time between updating data from API
2928
SCAN_INTERVAL = timedelta(minutes=60)

0 commit comments

Comments
 (0)