I am trying to create a dashboard to cast on my nest hub, but i cannot understand how to use the cast type card.
This is the code i created to navigate from the cast dashboard to another dashboard
- type: entities
entities:
cards:
type: cast
dashboard: /lovelace-tablet
view: media-tablet
cards:
- type: custom:button-card
color: auto
name: Media
icon: mdi:cast-audio
styles:
card:
- font-size: 12px
- font-weight: bold
icon:
- color: >
[[[
if (states['sensor.media_state'].state == 'playing')
return "green";
return "red";
]]]
tap_action:
action: navigate
navigation_path: /lovelace-tablet/media-tablet
But i get the errror ‘No devices found’
I am sure i am doing something wrong but can someone help me to trace the error?
The docs about the cast card is not helping me…