al-one / hass-miio-yeelink

Xiaomi Miio Yeelink/Yeelight devices for Home Assistant
171 stars 26 forks source link
home-assistant miio miot xiaomi yeelight yeelink

Xiaomi Miio For Yeelink devices

Tested Devices

Tested By Community

Installing

Download and copy custom_components/miio_yeelink folder to custom_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

Config

HomeAssistant GUI

Configuration > Integration > ➕ > Miio For Yeelink

Configuration variables:

Customize entity

# 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

Obtain miio token