Hello - thanks for responding. Logging in and out did not help.
Some more info: I have a second device generated by the same driver, that has the same capability, and the command IS showing up to select from in a piston for that device. So it can’t be the capability itself. If it works with one device, why would it not with another?!
Here are more specifics:
The custom capability is partyvoice23922.partitioncommand3, and the command is setPartitionCommand().
Device Profile:
I’m omitting the Preferences sections below because it is quite long.
This one is for the device that is NOT working:
name: DSC.primarypanel.v21
components:
- id: main
capabilities:
- id: "partyvoice23922.partitionStatus"
version: 1
- id: "partyvoice23922.dscdashswitch"
version: 1
- id: "partyvoice23922.ledStatus"
version: 1
- id: "partyvoice23922.dscstayswitch"
version: 1
- id: "partyvoice23922.dscawayswitch"
version: 1
- id: "partyvoice23922.partitioncommand3"
version: 1
- id: "partyvoice23922.dscselectswitch2"
version: 1
- id: alarm
version: 1
- id: securitySystem
version: 1
- id: refresh
version: 1
categories:
- name: SecurityPanel
metadata:
vid: 764f244e-c0e9-3659-9915-906217c0b8de
mnmn: SmartThingsCommunity
This profile is for the device that DOES work (identical!):
name: DSC.secondarypanel.v21
components:
- id: main
capabilities:
- id: "partyvoice23922.partitionStatus"
version: 1
- id: "partyvoice23922.dscdashswitch"
version: 1
- id: "partyvoice23922.ledStatus"
version: 1
- id: "partyvoice23922.dscstayswitch"
version: 1
- id: "partyvoice23922.dscawayswitch"
version: 1
- id: "partyvoice23922.partitioncommand3"
version: 1
- id: "partyvoice23922.dscselectswitch2"
version: 1
- id: alarm
version: 1
- id: securitySystem
version: 1
- id: refresh
version: 1
categories:
- name: SecurityPanel
metadata:
vid: 764f244e-c0e9-3659-9915-906217c0b8de
mnmn: SmartThingsCommunity
Custom Capability Definition (partyvoice23922.partitioncommand3)
id: partyvoice23922.partitioncommand3
version: 1
status: proposed
name: partitioncommand3
ephemeral: false
attributes:
partitionCommand:
schema:
type: object
properties:
value:
type: string
maxLength: 16
additionalProperties: false
required:
- value
setter: setPartitionCommand
enumCommands: []
commands:
setPartitionCommand:
name: setPartitionCommand
arguments:
- name: value
optional: false
schema:
type: string
maxLength: 16
Capability Presentation definition:
dashboard:
states: []
actions: []
basicPlus: []
detailView:
- label: 'Tap for additional partition commands:'
displayType: list
list:
command:
name: setPartitionCommand
alternatives:
- key: panicfire
value: Panic Fire
type: active
- key: panicamb
value: Panic Ambulance
type: active
- key: panicpolice
value: Panic Police
type: active
- key: instantarm
value: Arm-Instant
type: active
- key: toggleinstant
value: Toggle Instant Mode
type: active
- key: togglenight
value: Toggle Night Mode
type: active
- key: togglechime
value: Toggle Chime
type: active
- key: refresh
value: Refresh
type: active
- key: reset
value: Reset
type: active
- key: armstay
value: Arm Stay
type: active
- key: armaway
value: Arm Away
type: active
- key: disarm
value: Disarm
type: active
- key: pgm1
value: PGM1
type: active
- key: pgm2
value: PGM2
type: active
- key: pgm3
value: PGM3
type: active
- key: pgm4
value: PGM4
type: active
argumentType: string
state:
value: partitionCommand.value
valueType: string
alternatives:
- key: panicfire
value: Panic Fire
type: active
- key: panicamb
value: Panic Ambulance
type: active
- key: panicpolice
value: Panic Police
type: active
- key: instantarm
value: Arm-Instant
type: active
- key: toggleinstant
value: Toggle Instant Mode
type: active
- key: togglenight
value: Toggle Night Mode
type: active
- key: togglechime
value: Toggle Chime
type: active
- key: refresh
value: Refresh
type: active
- key: reset
value: Reset
type: active
- key: armstay
value: Arm Stay
type: active
- key: armaway
value: Arm Away
type: active
- key: disarm
value: Disarm
type: active
- key: pgm1
value: PGM1
type: active
- key: pgm2
value: PGM2
type: active
- key: pgm3
value: PGM3
type: active
- key: pgm4
value: PGM4
type: active
state: null
automation:
conditions: []
actions:
- label: 'Partition Commands:'
displayType: list
list:
alternatives:
- key: panicfire
value: Panic Fire
type: active
- key: panicamb
value: Panic Ambulance
type: active
- key: panicpolice
value: Panic Police
type: active
- key: instantarm
value: Arm-Instant
type: active
- key: toggleinstant
value: Toggle Instant Mode
type: active
- key: togglenight
value: Toggle Night Mode
type: active
- key: togglechime
value: Toggle Chime
type: active
- key: refresh
value: Refresh
type: active
- key: reset
value: Reset
type: active
- key: armstay
value: Arm Stay
type: active
- key: armaway
value: Arm Away
type: active
- key: disarm
value: Disarm
type: active
- key: pgm1
value: PGM1
type: active
- key: pgm2
value: PGM2
type: active
- key: pgm3
value: PGM3
type: active
- key: pgm4
value: PGM4
type: active
command: setPartitionCommand
argumentType: string
id: partyvoice23922.partitioncommand3
version: 1