more restful sleep )
"""Config flow for BLE Monitor."""
-# import copy
+import copy
import logging
import re
import voluptuous as vol
@@ -160,7 +160,7 @@ class BLEMonitorFlow(data_entry_flow.FlowHandler):
if not errors:
# updating device configuration instead of overwriting
- self._devices[user_input[CONF_MAC].upper()].update(user_input) # copy.deepcopy(user_input)
+ self._devices[user_input[CONF_MAC].upper()].update(copy.deepcopy(user_input)) # copy.deepcopy(user_input)
self._sel_device = {} # prevent deletion
if errors:
