项目作者: dooz127

项目描述 :
Toggle Entity List
高级语言: TypeScript
项目地址: git://github.com/dooz127/toggle-entity-list.git
创建时间: 2020-01-15T07:41:22Z
项目社区:https://github.com/dooz127/toggle-entity-list

开源协议:MIT License

下载


:round_pushpin: Toggle Entity List

Add a :round_pushpin: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

Install toggle-entity-list.js as a module

  1. resources:
  2. - url: /local/toggle-entity-list.js
  3. type: module

For more information, see Thomas Loven’s Lovelace-Plugins guide.

Options

Name Type1 Description Notes
type key:value A Lovelace custom element key-value mapping for :round_pushpin:Toggle Entity List 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 :round_pushpin:Toggle Entity List in the frontend Must specify at least one valid entity
entity key A Home Assistant entity’s identifier in the backend to be presented as a :round_pushpin:Toggle Entity List in the frontend Must be a valid entity_id value
name string A label for a specified entity in the :round_pushpin:Toggle Entity List Default value is the specified entity’s entity_id or friendly_name

Author

Acknowledgments

I relied on these persons’ repositories for ideas and best practices:

License

This project is licensed under the MIT License - see LICENSE.md for more information.

Footnotes

  1. Bold type indicates the option must be specified.