30 lines
724 B
YAML
30 lines
724 B
YAML
- view_layout:
|
|
grid-area: "card1"
|
|
type: 'custom:button-card'
|
|
template: card_title
|
|
name: NAS
|
|
|
|
|
|
- type: "horizontal-stack"
|
|
cards:
|
|
- view_layout:
|
|
grid-area: "card1"
|
|
type: 'custom:button-card'
|
|
template: card_script
|
|
variables:
|
|
ulm_card_script_title: WOL
|
|
ulm_card_script_icon: 'mdi:power'
|
|
tap_action:
|
|
action: call-service
|
|
service: switch.turn_on
|
|
service_data:
|
|
entity_id: switch.server
|
|
|
|
- view_layout:
|
|
grid-area: "card1"
|
|
type: 'custom:button-card'
|
|
template: card_binary_sensor
|
|
variables:
|
|
ulm_card_binary_sensor_alert: true
|
|
ulm_show_last_changed: true
|
|
entity: switch.server_template |