Add support for Velux Gates#34774
Conversation
|
Hey there @Julius2342, mind taking a look at this pull request as its been labeled with a integration ( |
Julius2342
left a comment
There was a problem hiding this comment.
Looks good. (No idea why the tests fail)
| if isinstance(self.node, RollerShutter): | ||
| return "shutter" | ||
| if isinstance(self.node, Window): | ||
| return "window" |
There was a problem hiding this comment.
btw, do you have any idea, why the velux windows are shown as shutters in apple home.
(which has the effect, that all windows open, when you say "hey siri, open the shutters". :-) )
There was a problem hiding this comment.
I'm sorry, I don't know. I'm not quite there yet in my integration. I will definitely have a look at it, because I have Somfy roller shutters as well as Velux windows :-)
|
How can I start the test again? I can not see any errors belonging to my changes. |
|
@mnaggatz Please rebase your PR on the latest |
|
After two attempts, it finally worked. Thanks for the advice. |
|
What is the further procedure? Is there anything else I need to do in order for the pull request to be executed? |
MartinHjelmare
left a comment
There was a problem hiding this comment.
Please address the comment in a new PR. Thanks!
| if isinstance(self.node, Awning): | ||
| return "awning" | ||
| if isinstance(self.node, Blind): | ||
| return "blind" |
There was a problem hiding this comment.
There are constants in the cover entity integration for the valid device classes. Please import and use those here.
core/homeassistant/components/cover/__init__.py
Lines 43 to 52 in 4dcff29
Breaking change
Proposed change
Type of change
Example entry for
configuration.yaml:# Example configuration.yamlAdditional 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: