Closed felixmxr closed 2 months ago
i think the problem comes from line 239 of entity.ts https://github.com/marcokreeft87/room-card/blob/77a80f587667d2fe304eeab87b6bdfedeb6a747f/src/entity.ts#L239
it seems no html will be output if entity.stateobj is undefined. which i think will always be the case when defining an object with just an icon and no entity or attribute
I now get what you mean. But you are right, you need an entity thats the whole point of the card
Which version of Room Card? v1.08.04
Describe the bug Entity Objects created with just an "icon" and no "entity" or "attribute" are not rendered
To Reproduce Steps to reproduce the behavior: create an entity object under "entitites" as follows
Expected behavior According to the documentation (https://github.com/marcokreeft87/room-card/wiki/Configuration#entity-objects), I would expect this object to be rendered
Additional context if any valid "entity" is added to the object it works
YAML