jhesketh / lovelace-fan-xiaomi

Xiaomi Smartmi Fan Lovelace card with CSS fan animation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Xiaomi Fan Lovelace Card

hacs_badge

Xiaomi Smartmi Fan Lovelace card for HASS/Home Assistant.

  • Supports HACS installation
  • Works seamlessly with the syssi/xiaomi_fan integration
  • Animations of the fan are made purely with CSS

HACS Installation

Search for Xiaomi Smartmi Fan Card

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: /community_plugin/lovelace-fan-xiaomi/fan-xiaomi.js
      type: js
  4. Add the following to your Lovelace config views.cards key
    - entity: fan.entity_id
      name: Fan Name
      type: 'custom:fan-xiaomi'
    Replace fan.entity_id with your fan's entity_id and Fan Name with any name you'd like to name your fan with

Preview

Credits

fineemb (Original author)

shaonianzhentan

花神

About

Xiaomi Smartmi Fan Lovelace card with CSS fan animation

License:Apache License 2.0


Languages

Language:JavaScript 100.0%