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 7c15f2d commit 0528897
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions custom_components/maestro_mcz/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,7 @@ def get_device_info(self) -> DeviceInfo:
sw_version = ""

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}")
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"

Expand Down

0 comments on commit 0528897

Please sign in to comment.