Add support for topdown shades to hunterdouglas_powerview#62788
Add support for topdown shades to hunterdouglas_powerview#62788bdraco merged 63 commits intohome-assistant:devfrom
Conversation
Alighining branch to master dev branch
Fetch changes from dev
|
Hey there @bdraco, mind taking a look at this pull request as it has been labeled with an integration ( |
homeassistant/components/hunterdouglas_powerview/config_flow.py
Outdated
Show resolved
Hide resolved
|
Just wanted to update because I didn’t want to seem rude and appreciate your quick review to start with. I will make the required changes and update - just a little delay from my side with a fried motherboard - will have to set my lab back up etc but hopefully get back to you soon |
|
No rush. I'm pretty swamped right now so it will take a while to doing another review pass on another turn. Next week is better if there is any follow up needed |
Merge dev
|
I have made the changes suggested, removing options flow and setting disabled by default. This did introduce a breaking change i was trying to avoid - but one i thing should really be there anyway. Essentially users that have a top down/bottom up motor will need to reconfigure any automations etc they already had setup as the new entity wont work with their old config. |
|
🤞 hopefully this has it across the line |
|
I found a few more issues in testing:
I've fixed the issues I found in bdraco@22ca42e I was unsure of one part here bdraco@22ca42e#r74809571 |
|
🤞that last pass doesn't break anything since I don't have the tdbu or tilts to test with and I'd really like to get this merged |
@bdraco worked really well thanks - only a few small things i needed to add to support proper open/close positioning. Hopefully this small change works for you - tried to keep it as simple as i could also just took the opportunity to rename edit: overall i tried to think how i need to implement the other shade models too - and only made changes i see required for the support of all shades |
|
Your changes look fine. It meets the goal of avoiding a lot of boiler plate when new models are added so it works for me. I'll do some testing in a bit. |
|
I checked the docs are we don't mention which device types are supported. It would be good add that at some point so we don't get lots of feature requests for everyone's models they assume are supported |
|
Sorry about that - this PR changed a lot over the last 6 months so glad to get it there finally. Can provide more information if needed but figured this one is pretty straightforward so keep it simple. The new support for Top Down Bottom Up Shades will provision 2 new entities, one for each motor. Stale entities from previous releases can either be removed manually one by one, or users can remove the entire Hunter Douglas Powerview Integration and reconfigure as a new hub. |
Done Also PR home-assistant/home-assistant.io#22944 in for updating the doco on supported shades. We probably want to get it merged into current though as its current content relates to the Silhoutte shades going live in 2022.6 I wouldnt be surprised if these cause people to request help as tilting doesnt work as expected for them The pull currently has tdbu listed as unsupported - which we would change when this PR is live. |
Breaking change
Top Down/Bottom Up shades will now have an entity to control each motor. Users will need to manually remove any old entities by selecting the unavailable entities from the Home Assistant Interface, selecting REMOVE ENTITY and then confirming the removal by clicking REMOVE
Proposed change
Add Top/Down Bottom/Up support to powerview
Create separate entities for top/down bottom/up blinds so both motors can be controlled
Fix shadetype being displayed as number and not string
Type of change
Additional information
Checklist
black --fast 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..coveragerc.The integration reached or maintains the following Integration Quality Scale:
To help with the load of incoming pull requests: