INNER CODE UNIT · Python

dropped

3dg1luk43/ha_washdata · custom_components/ha_washdata/__init__.py:205

        dropped = sorted(set(entry.options) - set(new_opts))
        hass.config_entries.async_update_entry(
            entry, options=new_opts, minor_version=9
        )
        minor_version = 9
        if dropped:
            _log.warning(
                "Migrated WashData entry from 3.8 to 3.9: dropped option(s) %s "
                "stored as null so the compiled defaults apply again",
                dropped,
            )
        else:
            _log.debug("Migrated WashData entry from 3.8 to 3.9 (no null options)")

    # 3.9 → 3.10: heal cadence defaults that violate the panel's own conflict rules
    # (#396). The pre-3.9 legacy migration seeded watchdog_interval=30 and
    # start_duration_threshold=5 into options. With sampling_interval now resolved
    # per device type, those seeded values fall below the watchdog>=2*sampling and

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…