Skip to content

Commit

Permalink
Remove unused parameters from function calls in rainbird (#134124)
Browse files Browse the repository at this point in the history
Remove unused parameters from rainbird function calls
  • Loading branch information
allenporter authored Dec 28, 2024
1 parent 268c21a commit 14059c6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions homeassistant/components/rainbird/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,12 @@ async def async_setup_entry(hass: HomeAssistant, entry: RainbirdConfigEntry) ->
return False
if mac_address := entry.data.get(CONF_MAC):
_async_fix_entity_unique_id(
hass,
er.async_get(hass),
entry.entry_id,
format_mac(mac_address),
str(entry.data[CONF_SERIAL_NUMBER]),
)
_async_fix_device_id(
hass,
dr.async_get(hass),
entry.entry_id,
format_mac(mac_address),
Expand Down Expand Up @@ -170,7 +168,6 @@ async def _async_fix_unique_id(


def _async_fix_entity_unique_id(
hass: HomeAssistant,
entity_registry: er.EntityRegistry,
config_entry_id: str,
mac_address: str,
Expand Down Expand Up @@ -214,7 +211,6 @@ def _async_device_entry_to_keep(


def _async_fix_device_id(
hass: HomeAssistant,
device_registry: dr.DeviceRegistry,
config_entry_id: str,
mac_address: str,
Expand Down

0 comments on commit 14059c6

Please sign in to comment.