Fix device class shorthand attr in ButtonEntity (#60622)
parent
f07e676c82
commit
b5a6e03c21
|
@ -82,7 +82,7 @@ class ButtonEntity(RestoreEntity):
|
|||
|
||||
entity_description: ButtonEntityDescription
|
||||
_attr_should_poll = False
|
||||
_attr_device_class: ButtonDeviceClass | None = None
|
||||
_attr_device_class: ButtonDeviceClass | None
|
||||
_attr_state: None = None
|
||||
__last_pressed: datetime | None = None
|
||||
|
||||
|
|
Loading…
Reference in New Issue