fix Generator annotation for ha_proxy_confs
This commit is contained in:
@@ -343,7 +343,7 @@ class Infos:
|
|||||||
dict[counter] -= 1
|
dict[counter] -= 1
|
||||||
|
|
||||||
def ha_proxy_confs(self, ha_prfx: str, node_id: str, snr: str) \
|
def ha_proxy_confs(self, ha_prfx: str, node_id: str, snr: str) \
|
||||||
-> Generator[tuple[dict, str], None, None]:
|
-> Generator[tuple[str, str, str, str], None, None]:
|
||||||
'''Generator function yields json register struct for home-assistant
|
'''Generator function yields json register struct for home-assistant
|
||||||
auto configuration and the unique entity string, for all proxy
|
auto configuration and the unique entity string, for all proxy
|
||||||
registers
|
registers
|
||||||
|
|||||||
Reference in New Issue
Block a user