Skip to content

Commit

Permalink
few fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
hekmon committed Jan 6, 2023
1 parent 863e5ef commit b00a50b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:

async def update_listener(hass: HomeAssistant, entry: ConfigEntry):
"""Handle options update."""
_LOGGER.warning("Update listener")
# Retrieved the serial reader for this config entry
try:
serial_reader = hass.data[DOMAIN][entry.entry_id]
Expand Down
2 changes: 1 addition & 1 deletion sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ async def async_setup_entry(
async_add_entities: AddEntitiesCallback,
) -> None:
"""Modern (thru config entry) sensors setup."""
_LOGGER.debug("%s: setting up binary sensor plateform", config_entry.title)
_LOGGER.debug("%s: setting up sensor plateform", config_entry.title)
# Retrieve the serial reader object
try:
serial_reader = hass.data[DOMAIN][config_entry.entry_id]
Expand Down
2 changes: 1 addition & 1 deletion serial_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def signalstop(self, event):

def update_options(self, real_time: bool):
"""Setter to update serial reader options."""
_LOGGER.warning("%s: new real time option value: %s", self._title, real_time)
_LOGGER.debug("%s: new real time option value: %s", self._title, real_time)
self._realtime = real_time

def _cleanup_cache(self):
Expand Down

0 comments on commit b00a50b

Please sign in to comment.