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

Added states and modes for zwave climate #25274

Merged
merged 4 commits into from Jul 18, 2019
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

@@ -4,9 +4,10 @@

from homeassistant.components.climate import ClimateDevice
from homeassistant.components.climate.const import (
CURRENT_HVAC_COOL, CURRENT_HVAC_HEAT, CURRENT_HVAC_IDLE, CURRENT_HVAC_OFF,
DOMAIN, HVAC_MODE_COOL, HVAC_MODE_HEAT, HVAC_MODE_HEAT_COOL, HVAC_MODE_OFF,
SUPPORT_FAN_MODE, SUPPORT_SWING_MODE, SUPPORT_TARGET_TEMPERATURE)
CURRENT_HVAC_COOL, CURRENT_HVAC_FAN, CURRENT_HVAC_HEAT, CURRENT_HVAC_IDLE,
CURRENT_HVAC_OFF, DOMAIN, HVAC_MODE_COOL, HVAC_MODE_HEAT, HVAC_MODE_HEAT_COOL,
This conversation was marked as resolved by cgtobi

This comment has been minimized.

Copy link
@cgtobi

cgtobi Jul 18, 2019

Collaborator
Suggested change
CURRENT_HVAC_OFF, DOMAIN, HVAC_MODE_COOL, HVAC_MODE_HEAT, HVAC_MODE_HEAT_COOL,
CURRENT_HVAC_OFF, DOMAIN, HVAC_MODE_COOL, HVAC_MODE_HEAT,
HVAC_MODE_DRY, HVAC_MODE_FAN_ONLY, HVAC_MODE_OFF, SUPPORT_FAN_MODE,
This conversation was marked as resolved by cgtobi

This comment has been minimized.

Copy link
@cgtobi

cgtobi Jul 18, 2019

Collaborator
Suggested change
HVAC_MODE_DRY, HVAC_MODE_FAN_ONLY, HVAC_MODE_OFF, SUPPORT_FAN_MODE,
HVAC_MODE_HEAT_COOL, HVAC_MODE_DRY, HVAC_MODE_FAN_ONLY, HVAC_MODE_OFF,
SUPPORT_SWING_MODE, SUPPORT_TARGET_TEMPERATURE)
This conversation was marked as resolved by cgtobi

This comment has been minimized.

Copy link
@cgtobi

cgtobi Jul 18, 2019

Collaborator
Suggested change
SUPPORT_SWING_MODE, SUPPORT_TARGET_TEMPERATURE)
SUPPORT_FAN_MODE, SUPPORT_SWING_MODE, SUPPORT_TARGET_TEMPERATURE)
from homeassistant.const import ATTR_TEMPERATURE, TEMP_CELSIUS, TEMP_FAHRENHEIT
from homeassistant.core import callback
from homeassistant.helpers.dispatcher import async_dispatcher_connect
@@ -35,6 +36,11 @@
'Heat': HVAC_MODE_HEAT,
'Heat Mode': HVAC_MODE_HEAT,
'Heat (Default)': HVAC_MODE_HEAT,
'Aux Heat': HVAC_MODE_HEAT,
'Furnance': HVAC_MODE_HEAT,
This conversation was marked as resolved by stboch

This comment has been minimized.

Copy link
@dshokouhi

dshokouhi Jul 18, 2019

Contributor

Furnace is the correct spelling

This comment has been minimized.

Copy link
@stboch

stboch Jul 18, 2019

Author Contributor

Corrected, Thanks!

'Fan Only': HVAC_MODE_FAN_ONLY,
'Dry Air': HVAC_MODE_DRY,
'Moist Air': HVAC_MODE_DRY,
'Cool': HVAC_MODE_COOL,
'Auto': HVAC_MODE_HEAT_COOL,
}
@@ -43,7 +49,13 @@
HVAC_CURRENT_MAPPINGS = {
"Idle": CURRENT_HVAC_IDLE,
"Heat": CURRENT_HVAC_HEAT,
"Pending Heat": CURRENT_HVAC_HEAT,
"Heating": CURRENT_HVAC_HEAT,
"Cool": CURRENT_HVAC_COOL,
"Pending Cool": CURRENT_HVAC_COOL,
"Cooling": CURRENT_HVAC_COOL,
"Fan Only": CURRENT_HVAC_FAN,
"Vent / Economiser": CURRENT_HVAC_FAN,
"Off": CURRENT_HVAC_OFF,
}

ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.