Initial commit
This commit is contained in:
61
README.md
Normal file
61
README.md
Normal file
@@ -0,0 +1,61 @@
|
||||
state-switch
|
||||
============
|
||||
|
||||

|
||||
|
||||
|
||||
```yaml
|
||||
- title: state-switch-card
|
||||
cards:
|
||||
- type: entities
|
||||
entities:
|
||||
- input_select.home_mode
|
||||
- type: custom:state-switch
|
||||
entity: input_select.home_mode
|
||||
states:
|
||||
Home:
|
||||
type: vertical-stack
|
||||
cards:
|
||||
- type: entities
|
||||
title: Lights
|
||||
entities:
|
||||
- light.bed_light
|
||||
- light.ceiling_lights
|
||||
- light.kitchen_lights
|
||||
- type: picture-glance
|
||||
camera_image: camera.demo_camera
|
||||
entities: []
|
||||
Away:
|
||||
type: alarm-panel
|
||||
entity: alarm_control_panel.alarm
|
||||
Guests:
|
||||
type: glance
|
||||
title: Lights
|
||||
entities:
|
||||
- light.bed_light
|
||||
- light.ceiling_lights
|
||||
- light.kitchen_lights
|
||||
|
||||
- type: custom:state-switch
|
||||
entity: user
|
||||
default: default
|
||||
states:
|
||||
A:
|
||||
type: entities
|
||||
title: User A stuff
|
||||
entities:
|
||||
- light.bed_light
|
||||
- light.ceiling_lights
|
||||
- light.kitchen_lights
|
||||
B:
|
||||
type: glance
|
||||
title: User B stuff
|
||||
entities:
|
||||
- light.bed_light
|
||||
- light.ceiling_lights
|
||||
- light.kitchen_lights
|
||||
default:
|
||||
type: markdown
|
||||
content: >
|
||||
## Unknown user
|
||||
```
|
||||
Reference in New Issue
Block a user