diff --git a/README.md b/README.md index e4a588d..6bc432e 100644 --- a/README.md +++ b/README.md @@ -111,6 +111,7 @@ Here is what every option means: | `aqi` | `object` | Optional | Custom entity or attribute for AQI value. | | `stats` | `object` | Optional | Custom per state stats for your purifier cleaner | | `shortcuts` | `object` | Optional | Custom shortcuts for your purifier cleaner. | +| `platform` | `string` | Optional | Default `xiaomi_miio_airpurifier` | ### `aqi` object diff --git a/src/purifier-card.js b/src/purifier-card.js index a92dcfe..393e4db 100644 --- a/src/purifier-card.js +++ b/src/purifier-card.js @@ -49,7 +49,7 @@ class PurifierCard extends LitElement { get platform() { if (this.config.platform === undefined) { - return 'xiaomi_miio'; + return 'xiaomi_miio_airpurifier'; } return this.config.platform;