From ee725130e48a6554657b76f529ce54f25ddfb0f0 Mon Sep 17 00:00:00 2001 From: Mathieu Broillet Date: Mon, 1 Jan 2024 16:33:32 +0100 Subject: [PATCH] forget to remove some param from old wol --- custom_components/easy_computer_manager/switch.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/custom_components/easy_computer_manager/switch.py b/custom_components/easy_computer_manager/switch.py index 5b5cd18..ddaeb11 100644 --- a/custom_components/easy_computer_manager/switch.py +++ b/custom_components/easy_computer_manager/switch.py @@ -46,8 +46,6 @@ async def async_setup_entry( ) -> None: # Retrieve the data from the config flow mac_address: str = config.data.get(CONF_MAC) - broadcast_address: str | None = config.data.get(CONF_BROADCAST_ADDRESS) - broadcast_port: int | None = config.data.get(CONF_BROADCAST_PORT) # broadcast_address: str | None = config.data.get(CONF_BROADCAST_ADDRESS) # broadcast_port: int | None = config.data.get(CONF_BROADCAST_PORT) host: str = config.data.get(CONF_HOST) @@ -65,8 +63,6 @@ async def async_setup_entry( name, host, mac_address, - broadcast_address, - broadcast_port, dualboot, username, password,