homebridge-dreo-db94
Version:
Homebridge Plugin for Dreo Smart Devices
73 lines • 1.84 kB
JSON
{
"pluginAlias": "DreoPlatformDB94",
"pluginType": "platform",
"singular": true,
"schema": {
"type": "object",
"properties": {
"name": {
"title": "Name",
"type": "string",
"condition": {
"functionBody": "return 0"
},
"required": true,
"default": "Dreo Platform",
"description": "You shouldn't need to change this."
},
"options": {
"title": "Dreo App Login",
"type": "object",
"required": true,
"properties": {
"email": {
"title": "Email",
"type": "string",
"required": true
},
"password": {
"title": "Password",
"type": "string",
"required": true,
"x-schema-form": {
"type": "password"
}
}
}
},
"hideTemperatureSensor": {
"title": "Hide Fan Temperature Sensor",
"type": "boolean",
"default": false,
"description": "Enable this option to hide the temperature sensor."
},
"temperatureOffset": {
"title": "Fan Temperature Offset",
"type": "number",
"condition": {
"functionBody": "return model.hideTemperatureSensor === false;"
},
"default": 0,
"description": "Subtract (or add) a set amount from the temperature reading (use negative numbers to subtract). This setting only applies to fans."
}
}
},
"form": [
{
"type": "fieldset",
"title": "Dreo App Login",
"items": [
"options.email",
"options.password"
]
},
{
"type": "fieldset",
"title": "Temperature Sensor",
"items": [
"hideTemperatureSensor",
"temperatureOffset"
]
}
]
}