Skip to content

Commit 527f54e

Browse files
committed
refactor: streamline Bluetooth configuration handling for IRK and MAC addresses
1 parent e2ee238 commit 527f54e

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

custom_components/google_home/config_flow.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,6 @@ async def async_step_global(
205205
) -> ConfigFlowResult:
206206
"""Manage the global options."""
207207
if user_input is not None:
208-
# Create a mutable copy of current options and update with user input
209208
options_config = dict(self.config_entry.options)
210209
options_config.update(user_input)
211210
coordinator = self.hass.data[DOMAIN][self.config_entry.entry_id][
@@ -295,7 +294,6 @@ async def async_step_add_mac(
295294
) -> ConfigFlowResult:
296295
"""Manage the options."""
297296
if user_input is not None:
298-
# Create a mutable copy of current options
299297
options_config = dict(self.config_entry.options)
300298
bluetooth_config = dict(options_config.get(CONF_BLUETOOTH, {}))
301299
bluetooth_config.setdefault(CONF_IRK, [])

0 commit comments

Comments
 (0)