Skip to content

Commit

Permalink
feat: add image entities as map entities
Browse files Browse the repository at this point in the history
  • Loading branch information
denysdovhan committed Dec 10, 2023
1 parent 4263164 commit 15353d3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,10 @@ export class VacuumCardEditor extends LitElement implements LovelaceCardEditor {
}

const vacuumEntities = this.getEntitiesByType('vacuum');
const cameraEntities = this.getEntitiesByType('camera');
const cameraEntities = [
...this.getEntitiesByType('camera'),
...this.getEntitiesByType('image'),
];

return html`
<div class="card-config">
Expand Down

0 comments on commit 15353d3

Please sign in to comment.