Hello.
I would like to add entities under the thermostat card.
However, I keep getting an error message saying ‘Unknown type encountered: entities’.
Could someone help me?
Thanks.
Best regards,
fobi87
Hello.
I would like to add entities under the thermostat card.
However, I keep getting an error message saying ‘Unknown type encountered: entities’.
Could someone help me?
Thanks.
Best regards,
fobi87
You have several issues. The first is that the second set of entities is indented so that it’s under features
. It should be indented the same as the first set of entities so it’s seen as one of the cards being swiped. After you fix that, the card will swipe from the thermostat, to the entities, to the next thermostat, and then to the final entities. So you’ll be swiping between four different cards. If you want the first set of entities under the first thermostat and then swipe to the second thermostat and have the second set of entities under that one you will need to put each thermostat and entitles card within a vertical stack card and swipe between the two vertical stack cards.
So to swipe between all four cards…
type: custom:swipe-card
cards:
- type: thermostat
entity: # add your thermostat entity
features:
- type: climate-hvac-modes
hvac_modes:
- # add your modes
- type: entities
entities:
- # add your entities
And to swipe between two cards with the thermostat on top and the entities below it.
type: custom:swipe-card
cards:
- type: vertical-stack
cards:
- type: thermostat
entity: # add your thermostat entity
features:
- type: climate-hvac-modes
hvac_modes:
- # add your modes
- type: entities
entities:
- # add your entities
- type: vertical-stack
cards:
- type: thermostat
entity: # add your thermostat entity
features:
- type: climate-hvac-modes
hvac_modes:
- # add your modes
- type: entities
entities:
- # add your entities
It works. You are my King. THX fobi87