Skip to content

paulbdavis/lovelace-custom-ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Lovelace Custom UI Elements

These have been moved

Check out the custom-cards group

Button Entity Row

img/button-entity-row.jpg

For use in an entites card. Available colors are red, green, yellow, and grey. The default uses your default color for buttons and icons (probably blue).

- type: entities
  title: Scenes
  entities:
    - type: "custom:button-entity-row"
      buttons:
        - icon: mdi:lightbulb-on
          icon_color: yellow
          action_name: "On"
          service: scene.turn_on
          service_data:
            entity_id: scene.lights_up
        - icon: mdi:lightbulb
          icon_color: grey
          action_name: "Off"
          service: scene.turn_on
          service_data:
            entity_id: scene.lights_out
        - icon: mdi:movie
          icon_color: red
          action_name: Movie
          service: scene.turn_on
          service_data:
            entity_id: scene.movie_lights

Adjustable Light Entity Row

img/adjustable-light-entity-row.jpg

For use in an entites card. You can specify an array of extra buttons to add with an action_name and service_data to send to light.turn_on for the supplied entity. If not supplied, only the temperature buttons show up (as in the screenshot above).

- type: entities
  title: Lights
  entities:
  - type: "custom:adjustable-light-entity-row"
    icon: mdi:lamp
    name: Lamp
    entity: light.lamp
    buttons:
      action_name: Red
      service_data:
        color_name: red

About

custom ui elements for lovelace

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published