Skip to content

Commit f5287b2

Browse files
committed
v1.1.3: Downgrade RCE startup warning to debug
- RCE entity not found at startup is normal (load order) - State change listener catches it when RCE loads later - No more false WARNING in HA logs
1 parent e1cbd6b commit f5287b2

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

custom_components/entsoe_prices/coordinator.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,10 @@ def _read_rce_price(self) -> float | None:
116116
"""Read current RCE price from HA sensor (PLN/MWh)."""
117117
state = self.hass.states.get(self._rce_entity)
118118
if state is None:
119-
_LOGGER.warning("RCE entity %s not found in HA states", self._rce_entity)
119+
_LOGGER.debug(
120+
"RCE entity %s not yet available — spread will activate when it appears",
121+
self._rce_entity,
122+
)
120123
return None
121124
if state.state in ("unavailable", "unknown"):
122125
_LOGGER.debug(

custom_components/entsoe_prices/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"domain": "entsoe_prices",
33
"name": "ENTSO-E Ceny Energii",
4-
"version": "1.1.2",
4+
"version": "1.1.3",
55
"documentation": "https://github.com/GregECAT/entsoe-e",
66
"issue_tracker": "https://github.com/GregECAT/entsoe-e/issues",
77
"attribution": "Dane z platformy ENTSO-E Transparency. Kurs walut z API NBP. Wydawca: Smarting HOME (smartinghome.pl). Dokumentacja API: https://documenter.getpostman.com/view/7009892/2s93JtP3F6",

0 commit comments

Comments
 (0)