1
0
mirror of https://github.com/esphome/esphome.git synced 2025-03-13 22:28:14 +00:00
This commit is contained in:
clydebarrow 2025-02-23 21:37:13 +11:00
parent 769f5839e0
commit 40c58d7aac

View File

@ -70,9 +70,8 @@ class FontCache(MutableMapping):
return f"url:{value[CONF_URL]}"
return f"file:{value[CONF_PATH]}"
def __init__(self, *args, **kwargs):
def __init__(self):
self.store = {}
self.update(dict(*args, **kwargs))
def __delitem__(self, key):
del self.store[self._keytransform(key)]