I'm new to HA and trying to figure out if this is possible before I spend too much time setting up HA. I'm using an Envisalink device with the envisalink_new from HACS. I want a button that will send a custom keypress to the alarm. I've installed button-card so I can have a button.
I created a new dashboard and added a button-card button to a section. I don't understand how I'm supposed set the button up to send data via envisalink_new.
In the files for envisalink_new they have a yaml file that states:
Describes the format for available Envisalink services.
alarm_keypress:
name: Alarm keypress
description: Send custom keypresses to the alarm.
target:
entity:
integration: envisalink_new
domain: alarm_control_panel
fields:
keypress:
name: Keypress
description: "String to send to the alarm panel (1-6 characters)."
required: true
example: "*71"
selector:
text:
So I put that code into the card yaml like so:
type: custom:button-card
alarm_keypress:
name: Alarm keypress
description: Send custom keypresses to the alarm.
target:
entity:
integration: envisalink_new
domain: alarm_control_panel
fields:
keypress:
name: Keypress
description: String to send to the alarm panel (1-6 characters).
required: true
example: "*71"
selector:
text: null
section_mode: true
grid_options:
rows: 2
columns: 4
It seems this makes a button that isn't clickable. I realize this is a lot like learning to run before I crawl. Any help would be appreciated.