2021-03-03 15:23:30 +01:00

1.8 KiB

title, description, ha_category, ha_release, ha_config_flow, ha_iot_class, ha_codeowners, ha_domain, ha_quality_scale, ha_ssdp, ha_platforms
title description ha_category ha_release ha_config_flow ha_iot_class ha_codeowners ha_domain ha_quality_scale ha_ssdp ha_platforms
WiLight Instructions on how to integrate WiLight devices into Home Assistant.
Cover
Fan
Light
0.115 true Local Polling
@leofig-rj
wilight silver true
cover
fan
light

The wilight integration is to integrate WiLight devices with Home Assistant.

There is currently support for the following device types within Home Assistant:

  • Cover (WiLight model C-103).
  • Fan (WiLight model V-104).
  • Light (WiLight model I-100, I-102 and I-107).

{% include integrations/config_flow.md %}

Fan

The wilight integration allows you to control your Fans from within Home Assistant.

Services

There are several services which can be used for automations and control of the fan:

Service Description
set_percentage Calling this service sets the fan speed (entity_id and percentage are required parameters). Percentage must be in the range 0-100, percentage = 0 turns off the fan. There are three speed levels 33%, 66% and 100%. Adjusting to intermediate levels goes to the next higher level.
set_direction Calling this service will set the fan direction (entity_id and direction are required parameters, and direction must be one of the following: forward or reverse). Calling this service will turn the fan on.
toggle Calling this service will toggle the fan between on and off states (entity_id is required).
turn_off Calling this service will turn the fan off (entity_id is required).
turn_on Calling this service will turn the fan on and set the speed and direction to the last used ones (defaults to high and forward, entity_id is required).