File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -576,7 +576,10 @@ async def get_missing_energy_logs(self) -> None:
576576 async def energy_log_update (
577577 self , address : int | None , save_cache : bool = True
578578 ) -> bool :
579- """Request energy logs and return True only when at least one recent, non-empty record was stored; otherwise return False."""
579+ """Request energy logs from node and store them.
580+
581+ Return True if processing succeeded (records stored in memory), regardless of whether new entries were added.
582+ Return False on transport or address errors."""
580583 if address is None :
581584 return False
582585
@@ -1186,7 +1189,7 @@ async def _relay_init_update_state(self, state: bool) -> None:
11861189 NodeFeature .RELAY_INIT , self ._relay_config
11871190 )
11881191 _LOGGER .debug (
1189- "Saving relay_init state update to cachefor %s" , self ._mac_in_str
1192+ "Saving relay_init state update to cache for %s" , self ._mac_in_str
11901193 )
11911194 await self .save_cache ()
11921195
You can’t perform that action at this time.
0 commit comments