Skip to content

Commit

Permalink
Add flash warning to write enabled log warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
WillCodeForCats committed Jan 19, 2025
1 parent e72f014 commit 4658c9a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions custom_components/solaredge_modbus_multi/hub.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,15 +219,19 @@ async def _async_init_solaredge(self) -> None:
_LOGGER.warning(
(
"Power Control Options: Storage Control is enabled. "
"Use at your own risk!"
"Use at your own risk! "
"Adjustable parameters in Modbus registers are intended for "
"long-term storage. Periodic changes may damage the flash memory."
),
)

if self.option_site_limit_control:
_LOGGER.warning(
(
"Power Control Options: Site Limit Control is enabled. "
"Use at your own risk!"
"Use at your own risk! "
"Adjustable parameters in Modbus registers are intended for "
"long-term storage. Periodic changes may damage the flash memory."
),
)

Expand Down

0 comments on commit 4658c9a

Please sign in to comment.