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

Error with self._state = temperature_history.temperatures.pop() in sensor.py #34

Open
zaywalker opened this issue Feb 25, 2021 · 13 comments

Comments

@zaywalker
Copy link

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
@tieppm
Copy link

tieppm commented Mar 12, 2021

hello
model your xiaomi cooker ??
Xiaomi YLIH02CM IH 1S 3L chunmi.cooker.k1pro1 ???

@tieppm
Copy link

tieppm commented Mar 12, 2021

hello
model your xiaomi cooker ?
Xiaomi YLIH02CM IH 1S 3L chunmi.cooker.k1pro1 ?

@zaywalker
Copy link
Author

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.

@tieppm
Copy link

tieppm commented Mar 13, 2021

oh. YLIH01CM is chunmi.cooker.press1
my model is YLIH02CM or IH 1S 3L or chunmi.cooker.k1pro1
image
image
image

IMG_20210314_000043.jpg

@zaywalker
Copy link
Author

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.

H0c4c5f655aeb4e4eab454f7f89cd1d55r

@tieppm
Copy link

tieppm commented Mar 13, 2021

yes, your is YLIH01CM or chunmi.cooker.press1

@zaywalker
Copy link
Author

yes, your is YLIH01CM or chunmi.cooker.press1

I'm sorry. My cooker is chunmi.cooker.press2.

Screenshot_2021-03-14-02-29-05-251_com xiaomi smarthome

@tieppm
Copy link

tieppm commented Mar 13, 2021

Oh. You user app? Mi home?

@zaywalker
Copy link
Author

yup. custom mi home app from "https://www.kapiba.ru/2017/11/mi-home.html" which is region free.

@tieppm
Copy link

tieppm commented Apr 13, 2021

@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
111037724-045b1a80-8458-11eb-822d-2d22d561a935

@syssi
Copy link
Owner

syssi commented Apr 13, 2021

You could setup this component. If your device isn't supported you will see the model name of your device at the homeassistant.log.

@tieppm
Copy link

tieppm commented Apr 13, 2021

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!
111037969-0b365d00-8459-11eb-8f9c-61cde53f24e8
172264055_1483067015418446_8061271452864163189_n

image
image
image
image
111037879-a844c600-8458-11eb-91df-704588f4bfb8

@tieppm
Copy link

tieppm commented Apr 22, 2021

@syssi please help me !!!

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

No branches or pull requests

3 participants