mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Add Identify device class to homekit_controller (#110878)
This commit is contained in:
parent
7d3755715f
commit
8fa347fb4c
@ -53,6 +53,7 @@ BUTTON_ENTITIES: dict[str, HomeKitButtonEntityDescription] = {
|
|||||||
CharacteristicsTypes.IDENTIFY: HomeKitButtonEntityDescription(
|
CharacteristicsTypes.IDENTIFY: HomeKitButtonEntityDescription(
|
||||||
key=CharacteristicsTypes.IDENTIFY,
|
key=CharacteristicsTypes.IDENTIFY,
|
||||||
name="Identify",
|
name="Identify",
|
||||||
|
device_class=ButtonDeviceClass.IDENTIFY,
|
||||||
entity_category=EntityCategory.DIAGNOSTIC,
|
entity_category=EntityCategory.DIAGNOSTIC,
|
||||||
write_value=True,
|
write_value=True,
|
||||||
),
|
),
|
||||||
|
@ -18,11 +18,12 @@
|
|||||||
'disabled_by': None,
|
'disabled_by': None,
|
||||||
'entity_category': 'diagnostic',
|
'entity_category': 'diagnostic',
|
||||||
'icon': None,
|
'icon': None,
|
||||||
'original_device_class': None,
|
'original_device_class': 'identify',
|
||||||
'original_icon': None,
|
'original_icon': None,
|
||||||
'original_name': 'Koogeek-LS1-20833F Identify',
|
'original_name': 'Koogeek-LS1-20833F Identify',
|
||||||
'state': dict({
|
'state': dict({
|
||||||
'attributes': dict({
|
'attributes': dict({
|
||||||
|
'device_class': 'identify',
|
||||||
'friendly_name': 'Koogeek-LS1-20833F Identify',
|
'friendly_name': 'Koogeek-LS1-20833F Identify',
|
||||||
}),
|
}),
|
||||||
'entity_id': 'button.koogeek_ls1_20833f_identify',
|
'entity_id': 'button.koogeek_ls1_20833f_identify',
|
||||||
@ -342,11 +343,12 @@
|
|||||||
'disabled_by': None,
|
'disabled_by': None,
|
||||||
'entity_category': 'diagnostic',
|
'entity_category': 'diagnostic',
|
||||||
'icon': None,
|
'icon': None,
|
||||||
'original_device_class': None,
|
'original_device_class': 'identify',
|
||||||
'original_icon': None,
|
'original_icon': None,
|
||||||
'original_name': 'Koogeek-LS1-20833F Identify',
|
'original_name': 'Koogeek-LS1-20833F Identify',
|
||||||
'state': dict({
|
'state': dict({
|
||||||
'attributes': dict({
|
'attributes': dict({
|
||||||
|
'device_class': 'identify',
|
||||||
'friendly_name': 'Koogeek-LS1-20833F Identify',
|
'friendly_name': 'Koogeek-LS1-20833F Identify',
|
||||||
}),
|
}),
|
||||||
'entity_id': 'button.koogeek_ls1_20833f_identify',
|
'entity_id': 'button.koogeek_ls1_20833f_identify',
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user