developers.home-assistant/blog/2023-02-28-custom-tile-feat...

1017 B

author authorURL authorTwitter title
Paul Bottein https://github.com/piitaya piitaya Custom tile features

In the Home Assistant Core 2022.3 release, we add custom features for the tile card. If you are a developer of custom cards, you can now build your own features to the tile card instead of building a whole card.

Screenshot showing example of custom tile feature

type: tile
entity: button.push
features:
  - type: custom:button-press-tile-feature

Custom tile features can even be added to the tile card editor like any other built-in tile feature using similar syntax as custom cards.

window.customTileFeatures = window.customTileFeatures || [];
window.customTileFeatures.push({
  type: "button-press-tile-feature",
  name: "Button press",
});

For more details, see the custom tile features documentation.