Correcting some existing events wrongly associated to Outdoor (weather) module instead of Presence. (#15808)

Adding 'alarm_started' event.

Signed-off-by: clinique <gael@lhopital.org>
This commit is contained in:
Gaël L'hopital 2023-10-26 18:57:14 +02:00 committed by GitHub
parent 8bcbd4598a
commit bdba338f44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 5 deletions

View File

@ -46,17 +46,20 @@ public enum EventType {
@SerializedName("daily_summary") // When the Outdoor Camera video summary of the last 24 hours is available @SerializedName("daily_summary") // When the Outdoor Camera video summary of the last 24 hours is available
DAILY_SUMMARY(ModuleType.PRESENCE), DAILY_SUMMARY(ModuleType.PRESENCE),
@SerializedName("vehicle") // When the Outdoor Camera detects a car
VEHICLE(ModuleType.PRESENCE),
@SerializedName("movement") // When the Indoor Camera detects motion @SerializedName("movement") // When the Indoor Camera detects motion
MOVEMENT(ModuleType.WELCOME), MOVEMENT(ModuleType.WELCOME),
@SerializedName("alarm_started") // When the Indoor Camera triggers alarm
ALARM_STARTED(ModuleType.WELCOME),
@SerializedName("human") // When the camera detects human motion @SerializedName("human") // When the camera detects human motion
HUMAN(ModuleType.WELCOME, ModuleType.OUTDOOR, ModuleType.DOORBELL), HUMAN(ModuleType.WELCOME, ModuleType.PRESENCE, ModuleType.DOORBELL),
@SerializedName("animal") // When the camera detects animal motion @SerializedName("animal") // When the camera detects animal motion
ANIMAL(ModuleType.WELCOME, ModuleType.OUTDOOR), ANIMAL(ModuleType.WELCOME, ModuleType.PRESENCE),
@SerializedName("vehicle") // When the Outdoor Camera detects a car
VEHICLE(ModuleType.OUTDOOR),
@SerializedName("new_module") // A new Module has been paired with the Indoor Camera @SerializedName("new_module") // A new Module has been paired with the Indoor Camera
NEW_MODULE(ModuleType.WELCOME), NEW_MODULE(ModuleType.WELCOME),