mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 21:57:51 +00:00
Matter event follow up (#122553)
This commit is contained in:
parent
9198234465
commit
4876e35fd8
@ -64,7 +64,7 @@ class MatterEventEntity(MatterEntity, EventEntity):
|
|||||||
# Momentary switch with multi press support
|
# Momentary switch with multi press support
|
||||||
# NOTE: We ignore 'multi press ongoing' as it doesn't make a lot
|
# NOTE: We ignore 'multi press ongoing' as it doesn't make a lot
|
||||||
# of sense and many devices do not support it.
|
# of sense and many devices do not support it.
|
||||||
# Instead we we report on the 'multi press complete' event with the number
|
# Instead we report on the 'multi press complete' event with the number
|
||||||
# of presses.
|
# of presses.
|
||||||
max_presses_supported = self.get_matter_attribute_value(
|
max_presses_supported = self.get_matter_attribute_value(
|
||||||
clusters.Switch.Attributes.MultiPressMax
|
clusters.Switch.Attributes.MultiPressMax
|
||||||
|
@ -74,7 +74,7 @@
|
|||||||
"state": {
|
"state": {
|
||||||
"switch_latched": "Switch latched",
|
"switch_latched": "Switch latched",
|
||||||
"initial_press": "Pressed",
|
"initial_press": "Pressed",
|
||||||
"long_press": "Hold down",
|
"long_press": "Held down",
|
||||||
"short_release": "Released after being pressed",
|
"short_release": "Released after being pressed",
|
||||||
"long_release": "Released after being held down",
|
"long_release": "Released after being held down",
|
||||||
"multi_press_1": "Pressed once",
|
"multi_press_1": "Pressed once",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user