Skip to content

Commit

Permalink
Fix pluged in icon.
Browse files Browse the repository at this point in the history
  • Loading branch information
twrecked committed Apr 4, 2021
1 parent bb8d638 commit e8eead5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions changelog
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions dist/hass-aarlo.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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';
Expand Down

0 comments on commit e8eead5

Please sign in to comment.