scudre / alarm-central-station-receiver

Python daemon for receiving events from a home alarm system via Contact ID protocol
Apache License 2.0
38 stars 10 forks source link

Move knowledge of what messages to notify on to Notification module #38

Open scudre opened 6 years ago

scudre commented 6 years ago

Currently the AlarmStatus decides which events to send notifications on. Ideally AlarmStatus should not need to be aware of Notifications. Instead, it should mark any auto events it finds, and then return the full event list back. The notification module should then decide what events it should or should not send out a notification for.