use ha_proxy_confs for registering proxy at ha

This commit is contained in:
Stefan Allius
2024-03-29 10:49:00 +01:00
parent 37cb7cc1a1
commit 385a984fd2

View File

@@ -40,7 +40,7 @@ class Inverter():
@classmethod
async def _register_proxy_stat_home_assistant(cls) -> None:
'''register all our topics at home assistant'''
for data_json, component, node_id, id in cls.db_stat.ha_confs(
for data_json, component, node_id, id in cls.db_stat.ha_proxy_confs(
cls.entity_prfx, cls.proxy_node_id,
cls.proxy_unique_id, True):
logger_mqtt.debug(f"MQTT Register: cmp:'{component}' node_id:'{node_id}' {data_json}") # noqa: E501