Skip to content

Commit

Permalink
fix indentation issue
Browse files Browse the repository at this point in the history
  • Loading branch information
pipiche38 committed Nov 29, 2023
1 parent b7aeb27 commit 91a3b9e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Modules/domoMaj.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@ def MajDomoDevice(self, Devices, NWKID, Ep, clusterID, value, Attribute_="", Col
zdp_IEEE_address_request(self, 'fffd', NWKID, u8RequestType="00", u8StartIndex="00")
return

deviceid_ieee = self.ListOfDevices[NWKID].get("IEEE", None)
if deviceid_ieee is None:
self.log.logging("Widget", "Error", "MajDomoDevice - no IEEE for %s" % NWKID, NWKID)
return
device_id_ieee = self.ListOfDevices.get(NWKID, {}).get("IEEE")
if device_id_ieee is None:
self.log.logging("Widget", "Error", f"MajDomoDevice - no IEEE for {NWKID}", NWKID)
return

model_name = self.ListOfDevices[NWKID].get("Model", "")

Expand Down

0 comments on commit 91a3b9e

Please sign in to comment.