Closed Nerivec closed 6 months ago
Logic in the event of adapter disconnected should go from:
zh.onAdapterDisconnected - adapter.stop() - emit 'adapterDisconnected' - z2m.onZigbeeAdapterDisconnected - stop() - zigbee.stop() - herdsman.stop() - databaseSave() - cleanup - permitJoinInternal() - backup() - databaseSave() - adapter.backup() - adapter.stop()
to
zh.onAdapterDisconnected - adapter.stop() - emit 'adapterDisconnected' - z2m.onZigbeeAdapterDisconnected - stop() - zigbee.stop() - herdsman.stop() - cleanup - databaseSave()
Updated some deprecated jest fn names.
Logic in the event of adapter disconnected should go from:
to
Updated some deprecated jest fn names.