Closed RezzZ closed 5 years ago
For climate custom_component I did the following:
from homeassistant.components.climate import (ClimateDevice, PLATFORM_SCHEMA, SUPPORT_TARGET_TEMPERATURE, SUPPORT_OPERATION_MODE) from homeassistant.const import (CONF_NAME, CONF_HOST, CONF_PORT, TEMP_CELSIUS, ATTR_TEMPERATURE)
new
from homeassistant.components.climate import ClimateDevice, PLATFORM_SCHEMA from homeassistant.components.climate.const import ( STATE_COOL, STATE_ECO, STATE_HEAT, STATE_AUTO, SUPPORT_OPERATION_MODE, SUPPORT_TARGET_TEMPERATURE, STATE_MANUAL)`
Hi @j360bi, I did the steps you described, but unfortunately they didn't work for me. Clicking: Gives this:
Hope you can see what's wrong
The following line should not be removed from the original source: _from homeassistant.const import (CONF_NAME, CONF_HOST, CONF_PORT, TEMP_CELSIUS, ATTRTEMPERATURE) Otherwise you are missing some HA constants.
Btw, you can grab the new version. All changes are incorporated.
True, my bad. In my version the line mentioned by @herikw was not removed.. Good that there is a new version! Tnx
No problem @j360b ! And thanks for the new version @herikw !
just upgraded the atagone and HA to 0..90.2 and all works again. Thanks @herikw
with the installation of HA 0.89.1 I get the following warning in HA. I think this component need a minor adjustment?
Only thing I miss in the HA documentation is what to do after I move this sensor file to a separate folder. My configuration.yaml should then point to this new folder somehow?
edit: it is actually not working any more in 0.89.1. I can't control the component any more. I reverted back to 0.87.0 for now