Closed sumoto closed 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)
after adding the component, an error will appear.
After last update v1.22, its works perfect. Thk
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)