Skip to content

Commit

Permalink
Fix protocol setup #3
Browse files Browse the repository at this point in the history
  • Loading branch information
mletenay committed May 17, 2024
1 parent 28b3d47 commit 098eafe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion custom_components/goodwe/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ async def async_step_init(self, user_input: dict | None = None) -> FlowResult:
OPTIONS_SCHEMA,
{
CONF_HOST: self.config_entry.data[CONF_HOST],
CONF_PROTOCOL: self.config_entry.data[CONF_PROTOCOL],
CONF_PROTOCOL: self.config_entry.data.get(CONF_PROTOCOL, "UDP"),
CONF_KEEP_ALIVE: self.config_entry.options.get(
CONF_KEEP_ALIVE,
self.config_entry.data.get(CONF_PROTOCOL) != "TCP",
Expand Down
2 changes: 1 addition & 1 deletion custom_components/goodwe/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
"issue_tracker": "/~https://github.com/mletenay/home-assistant-goodwe-inverter/issues",
"loggers": ["goodwe"],
"requirements": ["goodwe==0.4.2"],
"version": "0.9.9.20"
"version": "0.9.9.22"
}

0 comments on commit 098eafe

Please sign in to comment.