Skip to content
πŸŽ›οΈ Button Toolbar card for Home Assistant.
JavaScript
Branch: master
Clone or download
Latest commit b19b8f9 Dec 12, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
images Images Dec 12, 2019
README.md Update README.md Dec 12, 2019
button-toolbar.js Cleanup code Nov 27, 2019
hacs.json Init Nov 27, 2019

README.md

Usage:

resources:
  url: /community_plugin/button-toolbar/button-toolbar.js
  type: module

Images:

Left button toolbar with services call, right one with service call and state of the sensor!

1 1

Lovelace:

- type: custom:button-toolbar
  aspect_ratio: 1/2 # Optional, Default: 1/1
  content:
    entity: light.bedroom
    image: /local/bedroom_light.png
    height: 60%
  toolbar:
    - type: service # This is toolbar item type
      name: Toggle
      icon: mdi:lamp
      service:
        name: light.toggle
        entity: light.bedroom
    - type: state
      entity: sensor.bedroom_humidity
      unit: % # Optional, Default: entity unit_of_measurement
You can’t perform that action at this time.