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
@@ -51,7 +51,7 @@ async def async_setup_entry(
):
"""Set up the sensor entities."""
coordinator = entry.runtime_data.coordinator
resources = entry.data.get(CONF_RESOURCES, [])
resources = coordinator.config.get(CONF_RESOURCES, [])
sensors = [
PackagesSensor(entry, SENSOR_TYPES[variable], coordinator)
@@ -238,7 +238,7 @@ class ImagePathSensors(CoordinatorEntity, SensorEntity):
path = self.coordinator.data.get(
ATTR_IMAGE_PATH,
self._config.data.get(CONF_PATH),
self.coordinator.config.get(CONF_PATH),
)
if self.type == "usps_mail_image_system_path" and image: