Skip to content

Releases: Nerwyn/custom-card-features

2.1.0 - Selectors!

25 Feb 23:32

Choose a tag to compare

This release adds input selectors. Each selector is actually a group of buttons, with the current option being highlighted. Out of the box the selector works with input_select entities, but like all features in this project it can be customized to call any service.

selector_tile

This release also adds a flex_basis option which allows you to make some elements take up more space than others.

2.0.1 - Buttons and Sliders and More to Come!

25 Feb 23:32

Choose a tag to compare

Version 2 of this project is a massive refactor which makes it possible to add more tile feature types, starting with sliders! These sliders have been carefully tweaked to mirror the ones found in the default tile features and mushroom cards, like this!

slider_tile

As you can see, they also support icons and labels.

This release also overhauls how labels and styles work, allowing you to set them to the states and attributes of the entities you are sending service calls to. It can be confusing and hard to explain, so see the README for instructions and examples and ask for help on the community forum page or under discussions as needed.

Known issues:

  • Slider thumbs can be hard to click on iPhone.

2.0.0 - Buttons and Sliders and More to Come!

25 Feb 23:33

Choose a tag to compare

Version 2 of this project is a massive refactor which makes it possible to add more tile feature types, starting with sliders! These sliders have been carefully tweaked to mirror the ones found in the default tile features and mushroom cards, like this!

slider_tile

As you can see, they also support icons and labels.

This release also overhauls how labels and styles work, allowing you to set them to the states and attributes of the entities you are sending service calls to. It can be confusing and hard to explain, so see the README for instructions and examples and ask for help on the community forum page or under discussions as needed.

Known issues:

  • Slider thumbs can be hard to click on iPhone.

1.1.0 - Service Call Button Tile Feature

25 Feb 23:34

Choose a tag to compare

Add service call buttons to any tile card!

Create a tile card, expand Features, click + ADD FEATURE, and select Service Call.
Edit the service call feature in YAML to call any Home Assistant service. You can include multiple buttons in a row and change it's icon, icon color, background color, background opacity, label, and label color.

Try this config to start:

features:
  - type: custom:service-call
    buttons:
      - service: light.toggle
        icon: mdi:ceiling-light
        icon_color: red
      - service: light.toggle
        icon: mdi:lightbulb
        icon_color: orange
        label: Bulb 1
        data:
          entity_id: light.chandelier_bulb_1
      - service: light.toggle
        icon: mdi:lightbulb
        icon_color: yellow
        label: Bulb 2
        data:
          entity_id: light.chandelier_bulb_2
      - service: light.toggle
        icon: mdi:lightbulb
        icon_color: green
        label: Bulb 3
        data:
          entity_id: light.chandelier_bulb_3
      - service: light.toggle
        icon: mdi:lightbulb
        icon_color: blue
        label: Bulb 4
        data:
          entity_id: light.chandelier_bulb_4
      - service: light.toggle
        icon: mdi:lightbulb
        icon_color: purple
        label: Bulb 5
        data:
          entity_id: light.chandelier_bulb_5
  - type: custom:service-call
    buttons:
      - service: light.turn_on
        color: red
        xicon_color: rgb(255 0 0)
        label: Red
        label_color: red
        data:
          color_name: red
      - service: light.turn_on
        color: green
        icon_color: rgb(0 255 0)
        label: Green
        label_color: green
        data:
          color_name: green
      - service: light.turn_on
        color: blue
        icon_color: rgb(0 0 255)
        label: Blue
        label_color: blue
        data:
          color_name: blue
      - service: light.turn_on
        color: white
        icon_color: rgb(255 255 255)
        label: White
        label_color: white
        data:
          color_temp: 500
type: tile
entity: light.chandelier

1.1.0 - Service Call Button Tile Feature

25 Feb 23:35

Choose a tag to compare

Add service call buttons to any tile card!

Create a tile card, expand Features, click + ADD FEATURE, and select Service Call.
Edit the service call feature in YAML to call any Home Assistant service. You can include multiple buttons in a row and change it's icon, icon color, background color, and background opacity.

Try this config to start:

type: tile
entity: light.chandelier
features:
  - type: custom:service-call
    buttons:
      - service: light.toggle
        icon: mdi:ceiling-light
      - service: light.toggle
        icon: mdi:lightbulb
        data:
          entity_id: light.chandelier_bulb_1
      - service: light.toggle
        icon: mdi:lightbulb
        data:
          entity_id: light.chandelier_bulb_2
      - service: light.toggle
        icon: mdi:lightbulb
        data:
          entity_id: light.chandelier_bulb_3
      - service: light.toggle
        icon: mdi:lightbulb
        data:
          entity_id: light.chandelier_bulb_4
      - service: light.toggle
        icon: mdi:lightbulb
        data:
          entity_id: light.chandelier_bulb_5
  - type: custom:service-call
    buttons:
      - service: light.turn_on
        color: red
        icon_color: rgb(255 0 0)
        icon: mdi:alpha-r
        data:
          color_name: red
      - service: light.turn_on
        color: green
        icon_color: rgb(0 255 0)
        icon: mdi:alpha-g
        data:
          color_name: green
      - service: light.turn_on
        color: blue
        icon_color: rgb(0 0 255)
        icon: mdi:alpha-b
        data:
          color_name: blue
      - service: light.turn_on
        color: white
        icon_color: rgb(255 255 255)
        icon: mdi:alpha-w
        data:
          color_temp: 500