Skip to content

fineemb/lovelace-fan-xiaomi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

花神