From e8eead5dc94a6b46573c62130ea0146f2ccd82b2 Mon Sep 17 00:00:00 2001 From: Steve Herrell Date: Sun, 4 Apr 2021 11:16:53 -0400 Subject: [PATCH] Fix pluged in icon. --- changelog | 1 + dist/hass-aarlo.js | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/changelog b/changelog index 5c16318..428bfe7 100644 --- a/changelog +++ b/changelog @@ -1,3 +1,4 @@ +0.2.0b5: fix plugin icon 0.2.0b4: replace alert() with logs use HA icons 0.2.0b3: better mouse handling diff --git a/dist/hass-aarlo.js b/dist/hass-aarlo.js index 7d8af05..f9a1ba2 100644 --- a/dist/hass-aarlo.js +++ b/dist/hass-aarlo.js @@ -119,7 +119,7 @@ class AarloGlance extends LitElement { this._ready = false this._hass = null; this._config = null; - this._version = "0.2.0b4" + this._version = "0.2.0b5" // Internationalisation. this._i = null @@ -875,7 +875,7 @@ class AarloGlance extends LitElement { // SENSORS if ( camera.attributes.wired_only ) { - this.cs.details.battery = _tsi( this._i.status.plugged_in, 'state-update', 'power-plug') + this.cs.details.battery = _tsi( this._i.status.plugged_in, 'state-update', 'mdi:power-plug') } else { const battery = this._getState(this.cc.batteryId, 0); const prefix = camera.attributes.charging ? 'battery-charging' : 'battery';