Error with self._state = temperature_history.temperatures.pop() in sensor.py
See original GitHub issueAnd 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:
- Created 3 years ago
- Comments:13 (1 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
yup. custom mi home app from “https://www.kapiba.ru/2017/11/mi-home.html” which is region free.
@syssi please help me !!!