Xiaomi Miio Yeelink/Yeelight devices for Home Assistant
Download and copy
custom_components/miio_yeelink
folder tocustom_components
folder in your HomeAssistant config folder
# Auto install via terminal shell
wget -q -O - https://cdn.jsdelivr.net/gh/al-one/hass-xiaomi-miot/install.sh | DOMAIN=miio_yeelink REPO_PATH=al-one/hass-miio-yeelink bash -
Or you can install component with HACS
Configuration > Integration > ➕ > Miio For Yeelink
light,fan
Guess from Model if empty# configuration.yaml
homeassistant:
customize: !include customize.yaml
# customize.yaml (Configuration > Customize > Select Entity > Add Other Attribute)
light.your_entity_id:
support_color: true
support_brightness: true
support_color_temp: true
min_color_temp: 2700
max_color_temp: 6500
fan.your_entity_id:
support_oscillate: true
support_direction: true
/your_interlal_storage/vevs/logs/
vevs/logs/misc/devices.txt