mirror of
https://github.com/home-assistant/core.git
synced 2025-04-25 09:47:52 +00:00
Remove Shelly extra_attributes for RPC & REST devices (#140792)
* Remove Shelly extra_attributes for RPC devices * apply review comment
This commit is contained in:
parent
a252c19e7c
commit
f4787d469a
@ -296,7 +296,6 @@ class RpcEntityDescription(EntityDescription):
|
||||
value: Callable[[Any, Any], Any] | None = None
|
||||
available: Callable[[dict], bool] | None = None
|
||||
removal_condition: Callable[[dict, dict, str], bool] | None = None
|
||||
extra_state_attributes: Callable[[dict, dict], dict | None] | None = None
|
||||
use_polling_coordinator: bool = False
|
||||
supported: Callable = lambda _: False
|
||||
unit: Callable[[dict], str | None] | None = None
|
||||
@ -313,7 +312,6 @@ class RestEntityDescription(EntityDescription):
|
||||
name: str = ""
|
||||
|
||||
value: Callable[[dict, Any], Any] | None = None
|
||||
extra_state_attributes: Callable[[dict], dict | None] | None = None
|
||||
|
||||
|
||||
class ShellyBlockEntity(CoordinatorEntity[ShellyBlockCoordinator]):
|
||||
|
Loading…
x
Reference in New Issue
Block a user