Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbe-B authored Sep 6, 2024
1 parent 071c923 commit 7c15f2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/maestro_mcz/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,12 @@ def maestroapi(self) -> MaestroStove:
def get_device_info(self) -> DeviceInfo:
sw_version = ""

if self.maestroapi.Status.is_connected == True:
if(self.maestroapi.Status.is_connected == True):
sw_version=(f"{self._maestroapi.Status.sm_nome_app}.{self._maestroapi.Status.sm_vs_app}"
+ f", Panel:{self._maestroapi.Status.mc_vs_app}"
+ f", DB:{self._maestroapi.Status.nome_banca_dati_sel}")
else:
sw_version = "Device Disconnected"
sw_version="Device Disconnected"

return DeviceInfo(
identifiers={(DOMAIN, self._maestroapi.UniqueCode)},
Expand Down

0 comments on commit 7c15f2d

Please sign in to comment.