Toggle Entity List
Add a Toggle Entity List to your Home Assistant set-up. May be useful for configuring a Lovelace Picture Elements card with a list of Material Web Components switches.
Install toggle-entity-list.js
as a module
resources:
- url: /local/toggle-entity-list.js
type: module
For more information, see Thomas Loven’s Lovelace-Plugins guide.
Name | Type1 | Description | Notes |
---|---|---|---|
type | key:value | A Lovelace custom element key-value mapping for ![]() |
Must be set to custom:toggle-entity-list |
entities | key list | A list of Home Assistant entity identifiers in the backend to be presented as a ![]() |
Must specify at least one valid entity |
entity | key | A Home Assistant entity’s identifier in the backend to be presented as a ![]() |
Must be a valid entity_id value |
name | string | A label for a specified entity in the ![]() |
Default value is the specified entity’s entity_id or friendly_name |
I relied on these persons’ repositories for ideas and best practices:
This project is licensed under the MIT License - see LICENSE.md for more information.
type
indicates the option must be specified.