Fix entity category for LIFX buttons (#76788)

This commit is contained in:
Franck Nijhof 2022-08-15 11:35:53 +02:00 committed by GitHub
parent 669e6bec39
commit 8f0f734c28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,13 +19,13 @@ RESTART_BUTTON_DESCRIPTION = ButtonEntityDescription(
key=RESTART, key=RESTART,
name="Restart", name="Restart",
device_class=ButtonDeviceClass.RESTART, device_class=ButtonDeviceClass.RESTART,
entity_category=EntityCategory.DIAGNOSTIC, entity_category=EntityCategory.CONFIG,
) )
IDENTIFY_BUTTON_DESCRIPTION = ButtonEntityDescription( IDENTIFY_BUTTON_DESCRIPTION = ButtonEntityDescription(
key=IDENTIFY, key=IDENTIFY,
name="Identify", name="Identify",
entity_category=EntityCategory.DIAGNOSTIC, entity_category=EntityCategory.CONFIG,
) )