lovelace-xiaomi-vacuum-map-card
lovelace-xiaomi-vacuum-map-card copied to clipboard
Remove reliance on state object existence when rendering tiles
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_action
s 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.