Skip to content

Latest commit

 

History

History
56 lines (47 loc) · 1.92 KB

README.md

File metadata and controls

56 lines (47 loc) · 1.92 KB

Lovelace Xiaomi Air Filter Card

hacs_badge

This is a card for Lovelace's Xiaomi Air Purifier that supports most devices. Currently only tested on Xiaomi devices, if other devices have problems, please welcome Issues

I need to know the following information: Services needed fan.set_speed, Need to provide the speed value 01

Preview

HACS Installation

Search for air filter

Manual Installation

  1. Download air-filter-card.js
  2. Copy to www\community\lovelace-air-filter-card
  3. Add the following to your Lovelace resources
    resources:
      - url: /community_plugin/lovelace-air-filter/air-filter-card.js
        type: module
  4. Add the following to your Lovelace config views.cards key
      type: 'custom:air-filter'
      modes:
        - auto
        - silent
        - Strong
      entity: fan.kong_qi_jing_hua_qi
      title: air_filter
      aspect_ratio: '.6'

Options

Name Type Default Description
type string Required custom:air-filter
entity entity id Required The entity id of climate
modes array Required Operating mode, currently includes auto,silent,favorite,strong,medium,high,low,humidity,interval
title string optional Card title entity. Example:fan.kong_qi_jing_hua_qi
aspect_ratio Number optional Aspect ratio, Ratio of height to width