Skip to content

Commit

Permalink
v1.3.10-hf1 hot fix for entity bug in the editor
Browse files Browse the repository at this point in the history
  • Loading branch information
adizanni committed Mar 15, 2022
1 parent c181f43 commit 5f17088
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions dist/floor3d-card.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "floor3d-card",
"version": "1.3.10",
"version": "1.3.10-hf1",
"description": "Lovelace floor3d-card",
"keywords": [
"home-assistant",
Expand Down
2 changes: 1 addition & 1 deletion src/const.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const CARD_VERSION = '1.3.10';
export const CARD_VERSION = '1.3.10-hf1';
4 changes: 2 additions & 2 deletions src/editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ export class Floor3dCardEditor extends LitElement implements LovelaceCardEditor
></ha-icon>
</div>
<div class="values" style="flex-grow: 1;">
${this._entity_ids.length < 100
${this._entity_ids.length < 40
? html` <floor3d-select
label="Entity (Required)"
.value=${config.entity}
Expand All @@ -512,7 +512,7 @@ export class Floor3dCardEditor extends LitElement implements LovelaceCardEditor
@input=${this._valueChanged}
.configAttribute=${'entity'}
.configObject=${this._configArray[index]}
.value=${config.entity}
.value=${config.entity ? config.entity : ''}
>
</floor3d-textfield>
`}
Expand Down

0 comments on commit 5f17088

Please sign in to comment.