Add example to show single entity conditionally (#1498)

This commit is contained in:
Paulus Schoutsen 2018-07-22 10:55:13 +02:00 committed by GitHub
parent aaea698a6c
commit 3b2d4de313
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,6 +39,19 @@ const CONFIGS = [
show_state: false
`
},
{
heading: 'Showing single entity conditionally',
config: `
- type: entity-filter
entities:
- media_player.lounge_room
state_filter:
- 'playing'
card:
type: media-control
entity: media_player.lounge_room
`
}
];
class DemoFilter extends PolymerElement {