Fix device class shorthand attr in ButtonEntity (#60622)

pull/60625/head
Franck Nijhof 2021-11-30 15:06:33 +01:00 committed by GitHub
parent f07e676c82
commit b5a6e03c21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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