Skip to content

Latest commit

 

History

History
75 lines (65 loc) · 2.35 KB

README.md

File metadata and controls

75 lines (65 loc) · 2.35 KB

Xiaomi Fan Lovelace Card

hacs_badge

Xiaomi Smartmi Fan Lovelace card for HASS/Home Assistant.

Buy Me A Coffee

Features

  • This card plug-in is based on CSS implementation and is used for HASS, Supports HACS installation
  • CSS fan blade and oscillation animation

Preview

Requirements

Xiaomi Mi Smart Pedestal Fan Integration

Update

v1.3.5

  • fix icon displayed #5

v1.3.4

v1.3.3

  • Update Lovelace UI configuration.

v1.3.2

  • Fix x1 support
  • Add set delay off
  • Optimize the oscillation adjustment UI

v1.3.1

  • Optimize the oscillation adjustment UI
  • Optimize the UI configuration panel
  • Support for dmaker.fan.p5 model
  • 140 oscillation support

v1.3.0

  • Rebuild code
  • Optimize and fix multiple logic problems
  • Optimize the UI configuration panel

v1.2.2

  • Swing angle UI display
  • Add aspect-ratio configuration
  • Add background color configuration

v1.2.1

  • Fix the problem of speed information out of sync.
  • Add sway angle interaction.
  • Support for Lovelace UI configuration.

v1.2

  • Delete the temperature and humidity information.
  • Refactor the layout.
  • Increase battery power ring display (if device supports)
  • Increase the speed of the regulation.
  • Increase the angle adjustment button.

HACS Installation

Search for Lovelace-fan-xiaomi

Manual Installation

  1. Download fan-xiaomi.js
  2. Copy to www\community\lovelace-fan-xiaomi\fan-xiaomi.js
  3. Add the following to your Lovelace resources
    resources:
      - url: /hacsfiles/lovelace-fan-xiaomi/fan-xiaomi.js?v=0.2
        type: module
  4. Add the following to your Lovelace config views.cards key
    type: 'custom:fan-xiaomi'
    name: Fan
    entity: fan.zhi_neng_dian_feng_shan_3

Credits

花神