integration-input_datetime.json•2.44 kB
{
"anyOf": [
{ "$ref": "#/definitions/Schema" },
{ "$ref": "#/definitions/Item" }
],
"definitions": {
"Schema": {
"type": "object",
"additionalProperties": {
"anyOf": [
{ "type": "string", "pattern": "^!include_dir_named .*$" },
{ "type": "string", "pattern": "^!include_dir_named\r.*$" },
{ "type": "string", "pattern": "^!include_dir_named\n.*$" },
{ "type": "string", "pattern": "^!include_dir_named\t.*$" },
{ "type": "string", "pattern": "^!include_dir_named\f.*$" },
{ "type": "string", "pattern": "^!include_dir_named\u000b.*$" },
{ "type": "string", "pattern": "^!include_dir_merge_named .*$" },
{ "type": "string", "pattern": "^!include_dir_merge_named\r.*$" },
{ "type": "string", "pattern": "^!include_dir_merge_named\n.*$" },
{ "type": "string", "pattern": "^!include_dir_merge_named\t.*$" },
{ "type": "string", "pattern": "^!include_dir_merge_named\f.*$" },
{ "type": "string", "pattern": "^!include_dir_merge_named\u000b.*$" },
{ "$ref": "#/definitions/Item" },
{ "type": "null" }
]
}
},
"Item": {
"type": "object",
"properties": {
"has_date": {
"description": "Set to true if the input should have a date. At least one of has_time or has_date must be defined.\nhttps://www.home-assistant.io/integrations/input_datetime/#has_date",
"type": "boolean"
},
"has_time": {
"description": "Set to true if the input should have a time. At least one of has_time or has_date must be defined.\nhttps://www.home-assistant.io/integrations/input_datetime/#has_time",
"type": "boolean"
},
"icon": {
"description": "The icon that shows in the frontend.\nhttps://www.home-assistant.io/integrations/input_boolean#icon",
"type": "string"
},
"initial": {
"description": "Initial value when Home Assistant starts.\nhttps://www.home-assistant.io/integrations/input_datetime/#initial",
"type": "string"
},
"name": {
"description": "Name of the input datetime.\nhttps://www.home-assistant.io/integrations/input_datetime/#name",
"type": "string"
}
},
"additionalProperties": false
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}