Skip to content

Commit

Permalink
Merge pull request #68 from funtastix/develop
Browse files Browse the repository at this point in the history
Remove old code and fix setup flow
  • Loading branch information
funtastix authored Feb 23, 2023
2 parents 62cd84c + 583490a commit c68ee33
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
12 changes: 0 additions & 12 deletions custom_components/rinnaitouch/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,18 +54,6 @@ async def async_step_user(self, user_input=None):
errors = {}
if user_input is not None:
system = RinnaiSystem.get_instance(user_input[CONF_HOST])
zones = []
if user_input[CONF_ZONE_A]:
zones.append("A")
if user_input[CONF_ZONE_B]:
zones.append("B")
if user_input[CONF_ZONE_C]:
zones.append("C")
if user_input[CONF_ZONE_D]:
zones.append("D")
if user_input[CONF_ZONE_COMMON]:
zones.append("U")
system.set_zones(zones)
device_id = "rinnaitouch_" + str.replace(user_input[CONF_HOST], ".", "_")
try:
await self.hass.async_add_executor_job(system.get_status)
Expand Down
2 changes: 1 addition & 1 deletion custom_components/rinnaitouch/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
"codeowners": [ "@funtastix" ],
"requirements": [ "pyrinnaitouch>=0.12.1" ],
"config_flow": true,
"version": "0.12.1",
"version": "0.12.2",
"iot_class": "local_push"
}

0 comments on commit c68ee33

Please sign in to comment.