ParadoxAlarmInterface / ParadoxAlarmInterface/pai
Alarm property not published for zones
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 424
- Forks
- 118
- PR merge metrics
- No merged PRs in 30d
Description
Alarm system
Panel model: SP6000, MG5000
Environment
- RPI
- Docker
Git branch
latest prod
Describe the bug
I have the following set for publishing properties to HA:
HOMEASSISTANT_PUBLISH_ZONE_PROPERTIES = [
'open',
'bypassed',
'tamper'
'alarm',
'was_in_alarm'
]
Everything is published correctly, except alarm, even though from this list: https://github.com/ParadoxAlarmInterface/pai/wiki/MQTT-Interface#panel-states
It should work.
To Reproduce
Steps to reproduce the behavior:
- Set the
HOMEASSISTANT_PUBLISH_ZONE_PROPERTIESas above. - Restart PAI
- Check published properties: no
alarmproperty is created.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing HOMEASSISTANT_PUBLISH_ZONE_PROPERTIES through the zone-state publication path and compare the handling of alarm with open, bypassed, tamper, and was_in_alarm. Reproduce the configuration, then verify that the alarm property is published as described by the MQTT interface documentation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend, security
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100