Skip to content

Add option MY to new devices#15264

Closed
ghost wants to merge 1 commit into
devfrom
unknown repository
Closed

Add option MY to new devices#15264
ghost wants to merge 1 commit into
devfrom
unknown repository

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Jul 2, 2018

Description:

Add option MY to new devices somfy

Related issue (if applicable): fixes #

Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#<home-assistant.github.io PR number goes here>

Example entry for configuration.yaml (if applicable):

Checklist:

  • The code change is tested and works locally.
  • Local tests pass with tox. Your PR cannot be merged unless tests pass

If user exposed functionality or configuration variables are added/changed:

If the code communicates with devices, web services, or third-party tools:

  • New dependencies have been added to the REQUIREMENTS variable (example).
  • New dependencies are only imported inside functions that use them (example).
  • New or updated dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
  • New files were added to .coveragerc.

If the code does not interact with devices:

  • Tests have been added to verify that the new code works.

Add option MY to new devices
@ghost ghost added the in progress label Jul 2, 2018
self.apply_action('my')
elif self.tahoma_device.type == 'rts:DualCurtainRTSComponent':
self.apply_action('my')
elif self.tahoma_device.type == 'rts:ExteriorVenetianBlindRTSComponent':
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (80 > 79 characters)

elif self.tahoma_device.type == 'rts:ExteriorVenetianBlindRTSComponent':
self.apply_action('my')
elif self.tahoma_device.type == 'rts:BlindRTSComponent':
self.apply_action('my')
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Those devices should be added to the existing list.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I send PR to add this...

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The devices you added should be part of the list starting on line 83.

@ghost ghost closed this Jul 2, 2018
@ghost ghost removed the in progress label Jul 2, 2018
@ghost ghost mentioned this pull request Jul 3, 2018
8 tasks
@home-assistant home-assistant locked and limited conversation to collaborators Dec 10, 2018
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants