Skip to content

Search the documentation

Kit
Firmware

Fan

Smart Home

The house’s fan; its speed is in percent, 0 to 100.

The Fan class is reached through this attribute of home.

Always there.

All the attributes of home are in its table.

The fan speed last set, 0 to 100 percent.

speed: int

Read only.

Used in examples: Hello, house

Turns the fan on at full speed.

on()

Turns the fan off.

off()

Used in examples: Hello, house, Web dashboard

Sets the fan speed, from 0 (off) to 100 percent (full speed).

set_speed(percent)

Used in examples: Hello, house, Web dashboard