Skip to content

Commit

Permalink
Small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
LarsK1 committed Oct 9, 2024
1 parent 7529a13 commit ec61ed5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion custom_components/solvis_control/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
"iot_class": "local_polling",
"issue_tracker": "https://github.com/LarsK1/hass_solvis_control/issues",
"requirements": ["pymodbus"],
"version": "1.1.0-rc1"
"version": "1.1.0-rc2"
}
2 changes: 1 addition & 1 deletion custom_components/solvis_control/number.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,4 +164,4 @@ async def async_set_native_value(self, value: float) -> None:
except ConnectionException:
_LOGGER.warning("Couldn't connect to device")
finally:
await self.coordinator.modbus.close()
self.coordinator.modbus.close()
2 changes: 1 addition & 1 deletion custom_components/solvis_control/select.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,4 +151,4 @@ async def async_select_option(self, option: str) -> None:
except ConnectionException:
_LOGGER.warning("Couldn't connect to device")
finally:
await self.coordinator.modbus.close()
self.coordinator.modbus.close()
2 changes: 1 addition & 1 deletion custom_components/solvis_control/switch.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,4 +165,4 @@ async def async_turn_off(self, **kwargs) -> None:
except ConnectionException:
_LOGGER.warning("Couldn't connect to device")
finally:
await self.coordinator.modbus.close()
self.coordinator.modbus.close()

0 comments on commit ec61ed5

Please sign in to comment.