we can do:
type: entities
entities:
- entity: sun.sun
- type: conditional
conditions:
- entity: input_boolean.test
state: 'on'
row:
entity: sun.sun
but not then identical config in a Glance
type: glance
entities:
- entity: sun.sun
- type: conditional
conditions:
- entity: input_boolean.test
state: 'on'
row:
entity: sun.sun