mirror of
https://github.com/home-assistant/frontend.git
synced 2025-08-01 21:47:46 +00:00
Update condition card demo
This commit is contained in:
parent
458cbd9c1f
commit
52370a6fd7
@ -34,7 +34,7 @@ const CONFIGS = [
|
|||||||
`,
|
`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
heading: "If 1 is on and 2 is not off",
|
heading: "Demo",
|
||||||
config: `
|
config: `
|
||||||
- type: conditional
|
- type: conditional
|
||||||
conditions:
|
conditions:
|
||||||
@ -51,22 +51,6 @@ const CONFIGS = [
|
|||||||
- light.kitchen
|
- 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")
|
@customElement("demo-lovelace-conditional-card")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user