Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add system global states to monitor the central unit #57

Merged
merged 4 commits into from
Oct 1, 2023

Conversation

palazzem
Copy link
Owner

Related Issues

Proposed Changes:

This change leverages econnect-python to retrieve the system global state. It includes a list of errors, anomalies and triggered input/output so that you can build automations on top of it. The following is a list of generated entities:

binary_sensor.anomalies_led
binary_sensor.inputs_led
binary_sensor.alarm_led
binary_sensor.tamper_led
binary_sensor.has_anomaly
binary_sensor.panel_tamper
binary_sensor.panel_no_power
binary_sensor.panel_low_battery
binary_sensor.gsm_anomaly
binary_sensor.gsm_low_balance
binary_sensor.pstn_anomaly
binary_sensor.system_test
binary_sensor.module_registration
binary_sensor.rf_interference
binary_sensor.input_failure
binary_sensor.input_alarm
binary_sensor.input_bypass
binary_sensor.input_low_battery
binary_sensor.input_no_supervision
binary_sensor.device_tamper
binary_sensor.device_failure
binary_sensor.device_no_power
binary_sensor.device_low_battery
binary_sensor.device_no_supervision
binary_sensor.device_system_block

Testing:

Install this PR and check your entities page.

Extra Notes (optional):

n/a

Checklist

  • Related issues and proposed changes are filled
  • Tests are defining the correct and expected behavior
  • Code is well-documented via docstrings

@palazzem palazzem added this to the 1.1.0 milestone Sep 30, 2023
@palazzem palazzem self-assigned this Sep 30, 2023
@palazzem palazzem force-pushed the palazzem/feature-36 branch from 5df6bde to d258cd0 Compare October 1, 2023 13:43
@palazzem palazzem force-pushed the palazzem/feature-36 branch from d258cd0 to 89f41d0 Compare October 1, 2023 13:49
@palazzem palazzem force-pushed the palazzem/feature-36 branch from 89f41d0 to 268dcf7 Compare October 1, 2023 14:00
@palazzem palazzem merged commit 64531ef into main Oct 1, 2023
@palazzem palazzem deleted the palazzem/feature-36 branch October 1, 2023 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Use econnect-python get_status() to collect anomalies/alarms/tampering binary_sensor
2 participants