DPIclimate / DPIclimate/broker

Axistech poller not handling "NaN" in JSON response.

Open
#101 0 comments 0 reactions 1 assignee Claimed by @dajtxx View on GitHub
Dominant language
Python
Stars
3
Forks
3
Avg merge
3m
Merged PRs (30d)
1

Description

The Axistech API may put "NaN" for a value in the JSON response, and the poller does not handle this.

Make two changes for this issue:

1. Ignore any key with "NaN" as a value.
2. Add make the response parser testable so it is easier to run failing messages through it and add a unit test whenever a new failing message arrives.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.