sschirr / xiaomi_cooker

Xiaomi Mi Electric Rice Cooker integration for Home Assistant
Apache License 2.0
10 stars 8 forks source link

Some sensor entities are broken for chunmi.cooker.eh1 #4

Open liangleslie opened 2 years ago

liangleslie commented 2 years ago

Any sensors in SENSOR_TYPES with stage as the _child property do not work, as the condition in line 96 of sensor.py seems to ignore updating these sensors.

Also some of these sensors are incorrectly mapped to properties in CookerStatus, e.g. rice_id should be rice, stage_name should be stage

FaserF commented 2 years ago

I can confirm this issue