mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +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
|
||||
# NOTE: We ignore 'multi press ongoing' as it doesn't make a lot
|
||||
# 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.
|
||||
max_presses_supported = self.get_matter_attribute_value(
|
||||
clusters.Switch.Attributes.MultiPressMax
|
||||
|
@ -74,7 +74,7 @@
|
||||
"state": {
|
||||
"switch_latched": "Switch latched",
|
||||
"initial_press": "Pressed",
|
||||
"long_press": "Hold down",
|
||||
"long_press": "Held down",
|
||||
"short_release": "Released after being pressed",
|
||||
"long_release": "Released after being held down",
|
||||
"multi_press_1": "Pressed once",
|
||||
|
Loading…
x
Reference in New Issue
Block a user