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 support for landscape transformer power on/off #29

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alombardo4
Copy link

@alombardo4 alombardo4 commented Jul 30, 2023

This resolves #21 and adds support for the low voltage landscape transformer here

I wanted to be sure I could test this all locally, so I started by adding jest for testing (along with ts-jest for transpiling). From there, I added support for the low-voltage transformer as an extension of the smart outlet (because it's really just a multi-zone outlet).

This full PR adds support for all 3 zones to power on/off. I have tested this using my own product at home using the tests that are marked skipped right now, and captured the portions of the HTTP responses needed to add mock tests to protect future changes from breaking this functionality.

Thanks!

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.

Add support for low voltage transformers
1 participant