mirror of
https://github.com/house-of-abbey/GarminHomeAssistant.git
synced 2026-06-26 14:03:28 +00:00
Update config.schema.json
Numeric's tap_action is different to the tap's, and re-using the $ref caused problems, so properties have been copied.
This commit is contained in:
@@ -252,7 +252,7 @@
|
|||||||
},
|
},
|
||||||
"tap_action": {
|
"tap_action": {
|
||||||
"title": "Tap Action",
|
"title": "Tap Action",
|
||||||
"description": "Numeric tap action definition to include the number picker.",
|
"description": "Numeric tap action definition to include the number picker. 'confirm', 'pin' and 'exit' fields are optional.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"action": {
|
"action": {
|
||||||
"$ref": "#/$defs/action"
|
"$ref": "#/$defs/action"
|
||||||
@@ -297,6 +297,15 @@
|
|||||||
"data_attribute"
|
"data_attribute"
|
||||||
],
|
],
|
||||||
"additionalProperties": false
|
"additionalProperties": false
|
||||||
|
},
|
||||||
|
"confirm": {
|
||||||
|
"$ref": "#/$defs/confirm"
|
||||||
|
},
|
||||||
|
"pin": {
|
||||||
|
"$ref": "#/$defs/pin"
|
||||||
|
},
|
||||||
|
"exit": {
|
||||||
|
"$ref": "#/$defs/exit"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
@@ -990,7 +999,7 @@
|
|||||||
"tap_action": {
|
"tap_action": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"title": "Tap Action",
|
"title": "Tap Action",
|
||||||
"description": "'confirm' and 'pin' fields are optional.",
|
"description": "'confirm', 'pin' and 'exit' fields are optional.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"confirm": {
|
"confirm": {
|
||||||
"$ref": "#/$defs/confirm"
|
"$ref": "#/$defs/confirm"
|
||||||
|
|||||||
Reference in New Issue
Block a user