Comments (6)
isn't that in rytilahti/python-miio@5d87415 temperature was renamed to target_temperature?
from xiaomi_airconditioningcompanion.
Please update the custom component and use the latest version of the develop branch:
https://github.com/syssi/xiaomi_airconditioningcompanion/archive/develop.zip
from xiaomi_airconditioningcompanion.
Please update the custom component and use the latest version of the develop branch:
https://github.com/syssi/xiaomi_airconditioningcompanion/archive/develop.zip
still same error, any idea?
from xiaomi_airconditioningcompanion.
It was my fault. I missed a piece of code. :-)
@liorm0505 You must provide a target_sensor for the room temperature. Without this sensor the loop isn't closed and the thermostat cannot work.
from xiaomi_airconditioningcompanion.
hmm, comes new error like:
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/homeassistant/helpers/entity_platform.py", line 188, in _async_add_entity
await entity.async_device_update(warning=False)
File "/usr/local/lib/python3.5/dist-packages/homeassistant/helpers/entity.py", line 325, in async_device_update
yield from self.async_update()
File "/var/opt/homeassistant/custom_components/climate/xiaomi_miio.py", line 205, in async_update
ATTR_SWING_MODE: state.swing_mode.name,
File "/var/opt/homeassistant/deps/lib/python3.5/site-packages/miio/airconditioningcompanion.py", line 126, in swing_mode
return SwingMode(mode)
File "/usr/lib/python3.5/enum.py", line 241, in __call__
return cls.__new__(cls, value)
File "/usr/lib/python3.5/enum.py", line 476, in __new__
raise ValueError("%r is not a valid %s" % (value, cls.__name__))
ValueError: 2 is not a valid SwingMode
INFO:homeassistant.core:Bus:Handling <Event system_log_event[L]: level=ERROR, exception=Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/homeassistant/helpers/entity_platform.py", line 188, in _async_add_entity
await entity.async_device_update(warning=False)
File "/usr/local/lib/python3.5/dist-packages/homeassistant/helpers/entity.py", line 325, in async_device_update
yield from self.async_update()
File "/var/opt/homeassistant/custom_components/climate/xiaomi_miio.py", line 205, in async_update
ATTR_SWING_MODE: state.swing_mode.name,
File "/var/opt/homeassistant/deps/lib/python3.5/site-packages/miio/airconditioningcompanion.py", line 126, in swing_mode
return SwingMode(mode)
File "/usr/lib/python3.5/enum.py", line 241, in __call__
return cls.__new__(cls, value)
File "/usr/lib/python3.5/enum.py", line 476, in __new__
raise ValueError("%r is not a valid %s" % (value, cls.__name__))
ValueError: 2 is not a valid SwingMode
, timestamp=1522652863.6614914, message=xiaomi_miio: Error on device update!, source=deps/lib/python3.5/site-packages/miio/airconditioningcompanion.py>```
from xiaomi_airconditioningcompanion.
This is a new discovery. I thought the swing mode can be just on and off. It looks like your device supports additional swing modes. Could you describe the swing modes of your AC and the meaning of the current setting ("2")? Thanks in advance!
from xiaomi_airconditioningcompanion.
Related Issues (20)
- My home assistant can't find this add-on HOT 1
- Error in Hass OS 7.2 HOT 3
- acpartner.v3 radio/siren HOT 1
- Add KTBL12LM support
- ERROR Unable to update from sensor HOT 1
- Target temperature and fan speed set wrongly HOT 3
- dmaker.airfresh.t2017 not accessible via LAN HOT 1
- Hello, the light on the control air conditioning panel will be turned off HOT 4
- Problem adding Aqara Air Conditioning Companion (KTBL11LM) HOT 1
- Service stopped to work - HOT 5
- 添加到hacs后在集成页搜不到相应集成 HOT 1
- The cuco-acpartner-cp6_miap2063 New module
- Xiaomi Zigbee temperature & humidity sensor managed by lumi.acpartner.v2 AC companion was not added into HomeAssistant
- Platform error climate.xiaomi_miio_airconditioningcompanion - Exception importing custom_components.xiaomi_miio_airconditioningcompanion.climate HOT 22
- 小米巨省电系列空调能支持么 HOT 1
- Device support Question: May I ask why the `lumi.acpartner.mcn02` device is unsupported now?
- Integration error: cliamte - Integration 'cliamte' not found. HOT 1
- TEMP_CELSIUS was used from xiaomi_miio_airconditioningcompanion, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.CELSIUS instead, please create a bug report at https://github.com/syssi/xiaomi_airconditioningcompanion/issues HOT 5
- Lumi.acpartner.v2 started showing up as unavailable HOT 1
- acpartner.v3 - KTBL11LM only works in the evenings.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xiaomi_airconditioningcompanion.