Add sensor platform to MadVR#121617
Conversation
joostlek
left a comment
There was a problem hiding this comment.
Please revert the change in config_flow.py
|
Please take a look at the requested changes, and use the Ready for review button when you are done, thanks 👍 |
|
Marked |
|
Updated sensors to use enums and other classes, consolidate tests into snapshot, updated the docs PR to reference this one |
|
updated names and snapshot platform |
|
@joostlek I updated the docs link btw should be good now |
There was a problem hiding this comment.
its not related but makes the code a lot easier to work with
There was a problem hiding this comment.
But it should go in a separate PR as its outside of the scope of the sensor platform
| "integration_type": "device", | ||
| "iot_class": "local_push", | ||
| "requirements": ["py-madvr2==1.6.27"] | ||
| "requirements": ["py-madvr2==1.6.28"] |
There was a problem hiding this comment.
no its required to fix how one of the sensors works
There was a problem hiding this comment.
No but please bump this in a PR before this PR
|
Updated doc PR: home-assistant/home-assistant.io#33896 |
|
Addressed comments and updated snapshots |
Proposed change
This add sensors + tests and options flow for madvr
Type of change
Additional information
Checklist
ruff format homeassistant tests)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest.requirements_all.txt.Updated by running
python3 -m script.gen_requirements_all.To help with the load of incoming pull requests: