Skip to content

Commit baf0496

Browse files
Remove explicit LOGGER.setLevel to avoid spamming home-assistant.log
1 parent 765179b commit baf0496

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__ = "2.0.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
@@ -21,7 +21,6 @@
2121
from .dgeg import DGEG
2222

2323
_LOGGER = logging.getLogger(__name__)
24-
_LOGGER.setLevel(logging.DEBUG)
2524

2625
DATA_SCHEMA = vol.Schema(
2726
{

custom_components/precoscombustiveis/dgeg.py

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

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

1716
class Station:
1817
"""Represents a STATION card."""

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)