mirror of
https://github.com/home-assistant/core.git
synced 2025-11-15 22:10:09 +00:00
Use dict instead of MutableMapping [extra_state_attributes] (#115319)
This commit is contained in:
@@ -5,7 +5,7 @@ from __future__ import annotations
|
||||
from abc import ABCMeta
|
||||
import asyncio
|
||||
from collections import deque
|
||||
from collections.abc import Callable, Coroutine, Iterable, Mapping, MutableMapping
|
||||
from collections.abc import Callable, Coroutine, Iterable, Mapping
|
||||
import dataclasses
|
||||
from enum import Enum, IntFlag, auto
|
||||
import functools as ft
|
||||
@@ -537,7 +537,7 @@ class Entity(
|
||||
_attr_entity_picture: str | None = None
|
||||
_attr_entity_registry_enabled_default: bool
|
||||
_attr_entity_registry_visible_default: bool
|
||||
_attr_extra_state_attributes: MutableMapping[str, Any]
|
||||
_attr_extra_state_attributes: dict[str, Any]
|
||||
_attr_force_update: bool
|
||||
_attr_icon: str | None
|
||||
_attr_name: str | None
|
||||
|
||||
Reference in New Issue
Block a user