homeassistant/archive/lovelace/gpios.yaml

60 lines
1.4 KiB
YAML
Raw Normal View History

title: UCI Gpio Example
cards:
- type: vertical-stack
cards:
- type: markdown
content: >
# Control UCI GPIO Relays
- type: horizontal-stack
cards:
- type: entity-button
entity: switch.pine64_switch_1
icon: mdi:water
name: Relay 1
tap_action:
action: toggle
- type: entity-button
entity: switch.pine64_switch_2
icon: mdi:water
name: Relay 2
tap_action:
action: toggle
- type: entity-button
entity: switch.pine64_switch_3
icon: mdi:water
name: Relay 3
tap_action:
action: toggle
- type: entity-button
entity: switch.pine64_switch_4
icon: mdi:water
name: Relay 4
tap_action:
action: toggle
- type: horizontal-stack
cards:
- type: entity-button
entity: switch.pine64_switch_5
icon: mdi:water
name: Relay 5
tap_action:
action: toggle
- type: entity-button
entity: switch.pine64_switch_6
icon: mdi:water
name: Relay 6
tap_action:
action: toggle
- type: entity-button
entity: switch.pine64_switch_7
icon: mdi:water
name: Relay 7
tap_action:
action: toggle
- type: entity-button
entity: switch.pine64_switch_8
icon: mdi:water
name: Relay 8
tap_action:
action: toggle