24 lines
594 B
YAML
24 lines
594 B
YAML
|
- type: 'custom:button-card'
|
||
|
template: card_title
|
||
|
name: NAS
|
||
|
|
||
|
|
||
|
- type: "horizontal-stack"
|
||
|
cards:
|
||
|
- 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
|
||
|
|
||
|
- type: 'custom:button-card'
|
||
|
template: card_binary_sensor
|
||
|
variables:
|
||
|
ulm_card_binary_sensor_alert: true
|
||
|
ulm_show_last_changed: true
|
||
|
entity: switch.server_template
|