fineemb / Smartmi-smart-heater

智米智能电暖器
17 stars 8 forks source link

problem with componet #2

Closed sumoto closed 4 years ago

sumoto commented 4 years ago

Platform error fan.xiaomi_miio - cannot import name 'brightness_and_color_to_int' from 'miio.utils' (/usr/local/lib/python3.7/site-packages/miio/utils.py) Platform error fan.xiaomi_miio - cannot import name 'brightness_and_color_to_int' from 'miio.utils' (/usr/local/lib/python3.7/site-packages/miio/utils.py) Platform error vacuum.xiaomi_miio - cannot import name 'brightness_and_color_to_int' from 'miio.utils' (/usr/local/lib/python3.7/site-packages/miio/utils.py) Platform error switch.xiaomi_miio - cannot import name 'brightness_and_color_to_int' from 'miio.utils' (/usr/local/lib/python3.7/site-packages/miio/utils.py) Platform error light.xiaomi_miio - cannot import name 'brightness_and_color_to_int' from 'miio.utils' (/usr/local/lib/python3.7/site-packages/miio/utils.py) Platform error light.xiaomi_miio - cannot import name 'brightness_and_color_to_int' from 'miio.utils' (/usr/local/lib/python3.7/site-packages/miio/utils.py)

sumoto commented 4 years ago

after adding the component, an error will appear.

sumoto commented 4 years ago

After last update v1.22, its works perfect. Thk