This commit is contained in:
Home Assistant Version Control
2026-07-25 02:41:58 +00:00
parent 3dc00b2d26
commit b84bc6688e
52 changed files with 2002 additions and 219 deletions
@@ -21,7 +21,7 @@ _LOGGER = logging.getLogger(__name__)
async def async_setup_entry(hass, entry: MailAndPackagesConfigEntry, async_add_devices):
"""Initialize binary_sensor platform."""
coordinator = entry.runtime_data.coordinator
resources = entry.data.get(CONF_RESOURCES, [])
resources = coordinator.config.get(CONF_RESOURCES, [])
binary_sensors = [
PackagesBinarySensor(value, coordinator, entry)