8000 Update __init__.py by kloknibor · Pull Request #19319 · home-assistant/core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Update __init__.py 8000 #19319

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

Closed
wants to merge 1 commit into from
Closed

Update __init__.py #19319

wants to merge 1 commit into from

Conversation

kloknibor
Copy link
@kloknibor kloknibor commented Dec 15, 2018

Description:

If we add :

STATE_AUTO = 'auto'
STATE_MANUAL = 'manual'

We can use the same states for the heating (climate device) and water heater device since these are often combined in the same systems (atleast in europe/The netherlands). This will make it more user-friendly for our users that have this system combined

The states are already included in Homeassistant so translations should work without an problem.

Checklist:

  • The code change is tested and works locally.
  • Local tests pass with tox. Your PR cannot be merged unless tests pass
  • There is no commented out code in this PR.

If we add : 

STATE_AUTO = 'auto'
STATE_MANUAL = 'manual'

We can use the same states for the heating (climate device) and water heater device since these are often combined in the same systems (atleast in europe/The netherlands). This will make it more user-friendly for our users that have this system combined

The states are already included in Homeassistant so translations should work without an problem.
@marchingphoenix
Copy link
Contributor

this is going to be hit by home-assistant/architecture#117 and home-assistant/architecture#22
Just something to keep in mind. For now, I'm ok with this being merged once tests pass.

@MartinHjelmare
Copy link
Member

Entity model changes needs approval in architecture issue before merging.

@kloknibor
Copy link
Author

@MartinHjelmare allright I will propose this in the architecture issue as well ;)! thanks

@zxdavb
Copy link
Contributor
zxdavb commented Dec 17, 2018

This needs a better title. Maybe: "Add On and Manual states to water_heater component".

In any case, I think merging this into #19093 may be a better idea?

If you agree, would you be happy to close this PR and continue the discussion over there?

kloknibor added a commit to kloknibor/home-assistant that referenced this pull request Dec 17, 2018
@kloknibor kloknibor closed this Dec 17, 2018
@ghost ghost removed the in progress label Dec 17, 2018
@kloknibor
Copy link
Author

@zxdavb I followed your advise and merged them together

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants
0