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

Add HM-WDS30-T-O for outdoor temperature sensor #30

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

obgm
Copy link

@obgm obgm commented May 5, 2020

This PR adds a new class HM_WDS30_T_O to represent the HM-WDS30-T-O outdoor temperature sensor. Lacking a humidity sensor, the only additional property is temperature.

* Use named parameter paramsetKey instead of paramsetType
* Catch KeyError when deleting attributes
Dictionaries must not change while enumerated. This change creates
a copy with normalized keys. Keys are decoded only if necessary.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant