diff --git a/homeassistant/components/ibeacon/coordinator.py b/homeassistant/components/ibeacon/coordinator.py index 8c256e5a5f0..58f973c0a7d 100644 --- a/homeassistant/components/ibeacon/coordinator.py +++ b/homeassistant/components/ibeacon/coordinator.py @@ -152,11 +152,9 @@ class IBeaconCoordinator: """Ignore an address that does not follow the spec and any entities created by it.""" self._ignore_addresses.add(address) self._async_cancel_unavailable_tracker(address) - self.hass.config_entries.async_update_entry( - self._entry, - data=self._entry.data - | {CONF_IGNORE_ADDRESSES: sorted(self._ignore_addresses)}, - ) + entry_data = self._entry.data + new_data = entry_data | {CONF_IGNORE_ADDRESSES: list(self._ignore_addresses)} + self.hass.config_entries.async_update_entry(self._entry, data=new_data) self._async_purge_untrackable_entities(self._unique_ids_by_address[address]) self._group_ids_by_address.pop(address) self._unique_ids_by_address.pop(address)