ikaruswill / lovelace-fan-xiaomi

Xiaomi Smartmi Fan Lovelace card with CSS fan animation
Apache License 2.0
74 stars 35 forks source link

Speed levels rotation + 140 angle in dmaker.fan.p18 #103

Closed mrwogu closed 2 years ago

mrwogu commented 2 years ago

This pull request makes the following changes:

1. An angle of 140 degrees has been introduced for the dmaker.fan.p18 model

Duplicate of #100 image

2. When using rollup, you can set the port via the environment variable

3. Support for infinite changing speed levels.

With animations disabled: turn off (0) -> turn on (1) -> (2) -> (3) -> (4) -> turn off (0) -> turn on (1) ... With animations enabled: (1) -> (2) -> (3) -> (4) -> (1) ...

4. Styling fixes for disabled fan

image image