diff --git a/README.md b/README.md
index 40b4ada..254b74b 100644
--- a/README.md
+++ b/README.md
@@ -21,6 +21,7 @@ This is a Home Assistant Lovelace card that uses the [AirVisual component](https
| `weather` | string | optional | `weather.dark_sky` | Name of the weather entity if you wish to display temperature, humidity and wind information on the card. |
| `country` | string | `US` | `mdi:air-conditioner` | Name of the country that Airvisual is collecting AQI data from. |
| `city` | string | optional | `San Francisco` | Name of the city that AirVisual is collecting AQI data from. |
+| `unit_of_measurement` | string | optional | `AQI` | Unit of measurement |
| `icons` | string | `/hacsfiles/air-visual-card` | `/hacsfiles/air-visual-card` | The local directory where the .svg files are located. For example, 'icons: "/hacsfiles/air-visual-card"' is appropriate if this plugin is installed using HACS. If left blank, icons will be loaded from default location. |
| `hide_title` | boolean | `true` | `true` | `false` | Set to `true` if you want to hide the title that includes the city name. Useful for minimalists or those using dark themes. |
| `hide_face` | boolean | `false` | `true` | `false` | Set to `true` if you want to hide the face icon. |
diff --git a/dist/air-visual-card-editor.js b/dist/air-visual-card-editor.js
index 0ba9971..303473a 100644
--- a/dist/air-visual-card-editor.js
+++ b/dist/air-visual-card-editor.js
@@ -1,5 +1,6 @@
-// Used weather-card-editor.js from Weather Card as template
+// I Used weather-card-editor.js from Weather Card as template
// https://github.com/bramkragten/weather-card
+// 2023-02-25 card editor is likely broken as it doesn't show entities,
const fireEvent = (node, type, detail, options) => {
options = options || {};
@@ -67,6 +68,9 @@ export class AirVisualCardEditor extends LitElement {
get _speed_unit() {
return this._config.speed_unit || "mp/h";
}
+ get _unit_of_measurement() {
+ return this._config.unit_of_measurement || "AQI";
+ }
get _hide_title() {
return this._config.hide_title !== false;
}
@@ -163,6 +167,14 @@ export class AirVisualCardEditor extends LitElement {
.configValue="${"speed_unit"}"
@value-changed="${this._valueChanged}"
>
+
+
+