question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

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

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:13 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
zaywalkercommented, Mar 13, 2021

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

0reactions
tieppmcommented, Apr 22, 2021

@syssi please help me !!!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Template sensor issues - Home Assistant Community
Hi. i have made a template sensor that determines the water temperature and outputs the result of shower. Here is my code:
Read more >
Python script: Syntax error - sensors - Stack Overflow
I am trying to program a DHT11 temperature and Humidity sensor using my Raspberry Pi 3 model B. I am using a Python...
Read more >
Initial State dashboard for weather data - Raspberry Pi Forums
Hi, I would like to make an Initial State dashboard for weather data and I'm following these instructions ...
Read more >
What is the heat index? - National Weather Service
The heat index, also known as the apparent temperature, is what the temperature feels like to the human body when relative humidity is...
Read more >
Climate Data Online (CDO)
These data include quality controlled daily, monthly, seasonal, and yearly measurements of temperature, precipitation, wind, and degree days as well as ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found