mirror of
https://github.com/home-assistant/core
synced 2024-09-18 19:55:20 +02:00
Add debug (#10828)
This commit is contained in:
parent
af1bde6619
commit
b1e2275b47
@ -93,6 +93,7 @@ class SerialSensor(Entity):
|
|||||||
line = self._template.async_render_with_possible_json_value(
|
line = self._template.async_render_with_possible_json_value(
|
||||||
line)
|
line)
|
||||||
|
|
||||||
|
_LOGGER.debug("Received: %s", line)
|
||||||
self._state = line
|
self._state = line
|
||||||
self.async_schedule_update_ha_state()
|
self.async_schedule_update_ha_state()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user