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

Handle abstract classes correctly when referenced as subdevices #36

Merged
merged 1 commit into from Sep 24, 2019

Conversation

gcampax
Copy link
Contributor

@gcampax gcampax commented Sep 23, 2019

This way, the subdevices field of the class need not use a concrete device,
and we avoid creating a lot of concrete devices for gateway-managed
stuff.

This way, the subdevices field of the class need not use a concrete device,
and we avoid creating a lot of concrete devices for gateway-managed
stuff.
@gcampax gcampax added the bug label Sep 23, 2019
@gcampax gcampax requested a review from a team September 23, 2019 17:15
@gcampax gcampax added this to In Progress in Home Assistant via automation Sep 23, 2019
gcampax added a commit to stanford-oval/thingpedia-common-devices that referenced this pull request Sep 23, 2019
@coveralls
Copy link

Pull Request Test Coverage Report for Build 186

  • 7 of 10 (70.0%) changed or added relevant lines in 4 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.3%) to 82.751%

Changes Missing Coverage Covered Lines Changed/Added Lines %
lib/config/index.js 1 2 50.0%
lib/compat.js 2 4 50.0%
Totals Coverage Status
Change from base Build 173: -0.3%
Covered Lines: 1113
Relevant Lines: 1297

💛 - Coveralls

Copy link
Member

@sileix sileix left a comment

Choose a reason for hiding this comment

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

lgtm

@gcampax gcampax merged commit eac841b into master Sep 24, 2019
Home Assistant automation moved this from In Progress to Done Sep 24, 2019
@gcampax gcampax deleted the wip/abstract branch September 24, 2019 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants