Matter event follow up (#122553)

This commit is contained in:
Marcel van der Veldt 2024-07-24 20:12:20 +02:00 committed by GitHub
parent 9198234465
commit 4876e35fd8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

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

View File

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