mirror of
https://github.com/esphome/esphome.git
synced 2025-09-09 23:02:23 +01:00
Fix type annotation on extract_registry_entry_config
(#3623)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
@@ -34,7 +34,7 @@ class RegistryEntry:
|
||||
return Schema(self.raw_schema)
|
||||
|
||||
|
||||
class Registry(dict):
|
||||
class Registry(dict[str, RegistryEntry]):
|
||||
def __init__(self, base_schema=None, type_id_key=None):
|
||||
super().__init__()
|
||||
self.base_schema = base_schema or {}
|
||||
|
Reference in New Issue
Block a user