UNPKG

homebridge-fujitsu-airstage

Version:

A Homebridge plugin to control devices that use the Fujitsu Airstage API.

125 lines (124 loc) 4.34 kB
{ "pluginAlias": "fujitsu-airstage", "pluginType": "platform", "singular": true, "schema": { "type": "object", "properties": { "name": { "title": "Name", "type": "string", "default": "Airstage Platform", "required": true }, "region": { "title": "Region", "type": "string", "default": "us", "required": true, "oneOf": [ { "title": "U.S.", "const": "us" }, { "title": "Europe", "const": "eu" } ] }, "country": { "title": "Country", "type": "string", "required": true, "default": "United States" }, "language": { "title": "Language", "type": "string", "required": true, "default": "en" }, "email": { "title": "Airstage Email", "type": "string", "format": "email", "default": "" }, "password": { "title": "Airstage Password", "type": "string", "default": "" }, "rememberEmailAndPassword": { "title": "Remember Airstage Email and Password", "type": "boolean", "default": false, "description": "If enabled, the Airstage email and password will be stored in the config after a successful authentication with the Airstage API." }, "accessToken": { "title": "Airstage Access Token", "type": "string", "default": "", "description": "This will be automatically be set after a successful authentication with the Airstage API." }, "accessTokenExpiry": { "title": "Airstage Access Token Expiry", "type": "string", "default": "", "description": "This will be automatically be set after a successful authentication with the Airstage API." }, "refreshToken": { "title": "Airstage Refresh Token", "type": "string", "default": "", "description": "This will be automatically be set after a successful authentication with the Airstage API." }, "enableThermostat": { "title": "Enable thermostat control", "type": "boolean", "default": true }, "enableFan": { "title": "Enable fan control", "type": "boolean", "default": true }, "enableVerticalAirflowDirection": { "title": "Enable vertical airflow direction control", "type": "boolean", "default": false }, "enableDryModeSwitch": { "title": "Enable 'Dry Mode' switch", "type": "boolean", "default": false }, "enableEconomySwitch": { "title": "Enable 'Economy' switch", "type": "boolean", "default": false }, "enableEnergySavingFanSwitch": { "title": "Enable 'Energy Saving Fan' switch", "type": "boolean", "default": false }, "enableFanModeSwitch": { "title": "Enable 'Fan Mode' switch", "type": "boolean", "default": false }, "enableMinimumHeatModeSwitch": { "title": "Enable 'Minimum Heat Mode' switch", "type": "boolean", "default": false }, "enablePowerfulSwitch": { "title": "Enable 'Powerful' switch", "type": "boolean", "default": false } } } }