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

Convert climate water heaters to new water_heaters component #1661

Merged
merged 4 commits into from
Oct 2, 2018

Conversation

w1ll1am23
Copy link
Contributor

@w1ll1am23 w1ll1am23 commented Sep 13, 2018

This is to support this effort home-assistant/core#13539 I have started working on this and have some of the initial work done. I am not a web dev so I don't really know what all is going on here, I just copied the climate stuff to water_heater.

Currently this is kinda working, but not perfectly. I am getting the following error when I click to bring up the more-info

image

Please let me know if there is anything I am doing wrong or if you know how to fix the error.

*NOTE: I am not seeing the operation mode selection option which I am assuming is from the error? But I am not sure.


<div class$="[[computeClassNames(stateObj)]]">

<template is="dom-if" if="[[supportsOn(stateObj)]]">
Copy link
Member

Choose a reason for hiding this comment

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

You call supportsOn here but you don't have that method defined.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks, fixed.

@balloob
Copy link
Member

balloob commented Sep 17, 2018

The entity registry one is fine, it just means that the backend entity does not define a unique ID.

@w1ll1am23 w1ll1am23 changed the title [WIP] Convert climate water heaters to new water_heaters component Convert climate water heaters to new water_heaters component Sep 18, 2018
@w1ll1am23
Copy link
Contributor Author

@balloob I believe this is good to go.

@balloob
Copy link
Member

balloob commented Sep 24, 2018

Run ./node_modules/.bin/eslint src --fix and commit the changes to fix lint changes 👍

@balloob
Copy link
Member

balloob commented Sep 27, 2018

This is ok to merge when water heaters have been added to the backend.

@w1ll1am23
Copy link
Contributor Author

backend MR home-assistant/core#17058

@balloob
Copy link
Member

balloob commented Oct 2, 2018

Going to merge this as it's not going to be in the way and the backend PR has emerged.

@balloob balloob merged commit 7aa3718 into home-assistant:master Oct 2, 2018
@ghost ghost removed the in progress label Oct 2, 2018
@github-actions github-actions bot locked and limited conversation to collaborators Jul 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants