xiaomi_cooker
xiaomi_cooker copied to clipboard
Error with self._state = temperature_history.temperatures.pop() in sensor.py
And unable to track the temperature.
Hello! I'm very happy to use this cooker sensor and I've got a error message from sensor.py.
My cooker is chunmi.cooker.press2.
Here is the error message.
Logger: homeassistant.util.logging
Source: util/logging.py:106
First occurred: 오후 4:13:37 (40 occurrences)
Last logged: 오후 4:33:07
Exception in async_update_callback when dispatching 'xiaomi_miio_cooker_updated': ('192.168.10.202',) Traceback (most recent call last): File "/config/custom_components/xiaomi_miio_cooker/sensor.py", line 112, in async_update_callback self._state = temperature_history.temperatures.pop() IndexError: pop from empty list
hello model your xiaomi cooker ?? Xiaomi YLIH02CM IH 1S 3L chunmi.cooker.k1pro1 ???
hello model your xiaomi cooker ? Xiaomi YLIH02CM IH 1S 3L chunmi.cooker.k1pro1 ?
hello model your xiaomi cooker ? Xiaomi YLIH02CM IH 1S 3L chunmi.cooker.k1pro1 ?
My model is chunmi.cooker.press2. I'm not sure the product code name, I guess my cooker is YLIH01CM which is 1st model from xiaomi(mijia) as a pressure cooker.
oh. YLIH01CM is chunmi.cooker.press1
my model is YLIH02CM or IH 1S 3L or chunmi.cooker.k1pro1
Yup. I see. As I mentioned, I'm not sure about the product name. :) Just I know model code that I can check with mi home app.
yes, your is YLIH01CM or chunmi.cooker.press1
yes, your is YLIH01CM or chunmi.cooker.press1
I'm sorry. My cooker is chunmi.cooker.press2.
Oh. You user app? Mi home?
yup. custom mi home app from "https://www.kapiba.ru/2017/11/mi-home.html" which is region free.
@syssi YLIH01CM is chunmi.cooker.press2?
but config of you YLIH01CM is chunmi.cooker.press1
there is something wrong here?
my model is YLIH02CM or IH 1S 3L or chunmi.cooker.k1pro1. it is chunmi.cooker.press1 or chunmi.cooker.press2?
i dont config it vs hass
You could setup this component. If your device isn't supported you will see the model name of your device at the homeassistant.log.
You could setup this component. If your device isn't supported you will see the model name of your device at the homeassistant.log.
thank U, please help me!
@syssi please help me !!!