Skip to content

Commit

Permalink
do not reload ListOfWidgets index after a DeviceList change
Browse files Browse the repository at this point in the history
  • Loading branch information
pipiche38 committed Mar 6, 2024
1 parent 8ed0f62 commit 55330a2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -498,8 +498,7 @@ def onStart(self):
self.onStop()
return

# Import List of Domoticz Widgets

# Initialize List of Domoticz Widgets
load_list_of_domoticz_widget(self, Devices)

# Import DeviceList.txt Filename is : DeviceListName
Expand Down Expand Up @@ -896,7 +895,6 @@ def onHeartbeat(self):
self.log.logging("Plugin", "Debug", "Devices size has changed , let's write ListOfDevices on disk")
WriteDeviceList(self, 0) # write immediatly
networksize_update(self)
load_list_of_domoticz_widget(self, Devices)

_trigger_coordinator_backup( self )

Expand Down

0 comments on commit 55330a2

Please sign in to comment.