Update condition card demo

This commit is contained in:
Paul Bottein 2024-03-12 18:01:31 +01:00
parent 458cbd9c1f
commit 52370a6fd7
No known key found for this signature in database

View File

@ -34,7 +34,7 @@ const CONFIGS = [
`,
},
{
heading: "If 1 is on and 2 is not off",
heading: "Demo",
config: `
- type: conditional
conditions:
@ -51,22 +51,6 @@ const CONFIGS = [
- light.kitchen
`,
},
{
heading: "If 1 and 2 have the same state",
config: `
- type: conditional
conditions:
- entity: light.controller_1
state: light.controller_2
card:
type: entities
entities:
- light.controller_1
- light.controller_2
- light.floor
- light.kitchen
`,
},
];
@customElement("demo-lovelace-conditional-card")