def __init__(self, filename=None):
        self.filename = None
        if filename:
            self.load(filename)
async def async_reload_entry(hass: HomeAssistant, entry: ConfigEntry) -> None:
    """Handle an options update."""
    await hass.config_entries.async_reload(entry.entry_id)