You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Events has been introduced as a concept but is currently only associating with Locks. It would be benifical to extract arming events as well and have these associated with the Alarm Panel.
Expected behavior
Extrapolate arming events and associate the device with the Alarm Panel Device
The question boils down to how it should be associated. Locks are populated with "LockName" which makes it easy to correlate. There's two options as I see it:
Associate any event where LockName is "" to Alarm Panel, this may cause non arming events to be associated should Sector add support for other event types.
Associate event based on EventType. The drawback here is that new types of events could be missed, alternatively a misc event entity could be created to catch any unknown EventTypes.
gjohansson-ST
added
no-stale
This issue or PR is exempted from the stable bot.
and removed
stale
There has not been activity on this issue or PR for quite some time.
labels
Dec 8, 2024
Describe the feature request
Events has been introduced as a concept but is currently only associating with Locks. It would be benifical to extract arming events as well and have these associated with the Alarm Panel.
Expected behavior
Extrapolate arming events and associate the device with the Alarm Panel Device
The question boils down to how it should be associated. Locks are populated with "LockName" which makes it easy to correlate. There's two options as I see it:
Additional context
The lock payload looks as follows:
Whereas arming looks like this:
{
"User": "",
"Channel": "quick_arming_channel",
"UserTranslationKey": "",
"Time": "2024-11-06T00:48:59",
"EventType": "partialarmed",
"LockName": ""
}
{
"User": "Jonathan Petersson",
"Channel": "App",
"UserTranslationKey": "",
"Time": "2024-11-06T00:47:37",
"EventType": "disarmed",
"LockName": ""
}
{
"User": "",
"Channel": "quick_arming_channel",
"UserTranslationKey": "",
"Time": "2024-11-06T00:47:12",
"EventType": "armed",
"LockName": ""
The text was updated successfully, but these errors were encountered: