ParadoxAlarmInterface / pai

Paradox Magellan, Spectra and EVO, with MQTT, Signal, Pushbullet, Pushover and others
https://gitter.im/paradox-alarm-interface
Eclipse Public License 2.0
358 stars 94 forks source link

Expose numeric ids for MQTT definitions #456

Closed lpaolini closed 7 months ago

lpaolini commented 7 months ago

Add a numeric id to definitions (partitions, zones, users) published to MQTT. This change allows matching zones (which expose a numeric "partition" value) to the corresponding partition. The original definition is not mutated.

sonarcloud[bot] commented 7 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

yozik04 commented 7 months ago

I tried yesterday to dig into the code but did not had time to make anything useful. Your change is great. Thank you for contribution!

lpaolini commented 7 months ago

Thanks! Happy to contribute, despite I'm not fluent in Python :-)