NorthernMan54 / homebridge-tasmota

Plugin for Tasmota devices leveraging Home Assistant auto discovery
Apache License 2.0
35 stars 9 forks source link

Set Disconnected Device Cleanup Timing to infinite #46

Open Katoz96 opened 1 year ago

Katoz96 commented 1 year ago

I want to disable the auto cleanup feature, I've tried to set Disconnected Device Cleanup Timing to 0 and so far it's not giving me any problems but I would like to know if this is the correct solution.

Thanks for the help

NorthernMan54 commented 1 year ago

Try changing the device cleanup time to a large number instead, under the covers it is using nodeJS setTimer, which has a maximum value of 596 hours aka 24 days.

Katoz96 commented 1 year ago

Thanks, can you add this information below the option? I tried a larger number earlier, it deleted all my accessories and I didn't understand why

NorthernMan54 commented 1 year ago

Good suggestion, will add during the next release