Skip to content

Commit

Permalink
add debug message
Browse files Browse the repository at this point in the history
  • Loading branch information
firstof9 committed Jul 28, 2023
1 parent cb3cc34 commit 40db870
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions custom_components/openevse/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ async def handle_state_change(
invert = config_entry.data.get(CONF_INVERT)

if changed_entity in [grid_sensor, solar_sensor]:
_LOGGER.debug(
"Sending sensor data to OpenEVSE: (soalr: %s) (grid: %s)", solar, grid
)
await manager.self_production(grid=grid, solar=solar, invert=invert)


Expand Down

0 comments on commit 40db870

Please sign in to comment.