lovelace-xiaomi-vacuum-map-card icon indicating copy to clipboard operation
lovelace-xiaomi-vacuum-map-card copied to clipboard

Remove reliance on state object existence when rendering tiles

Open lageorgem opened this issue 4 months ago • 0 comments

Changelog:

  • Removed condition checking for the state object when rendering tile

Tile rendering allows for retrieving the tile's value from internal variables. That can be combined with various tap_actions that turn a tile into a button without the need for the tile to be related to an entity. Since the other methods in the tile rendering do not particularly require the presence of a state object in the arguments, I found it fitting to remove said condition that prevented render.

lageorgem avatar Oct 13 '24 09:10 lageorgem