|
| 1 | +{ |
| 2 | + "id": "samsungce.relativeHumidityLevel", |
| 3 | + "version": 1, |
| 4 | + "status": "proposed", |
| 5 | + "name": "Relative Humidity Level", |
| 6 | + "ephemeral": false, |
| 7 | + "attributes": { |
| 8 | + "desiredHumidityLevelRange": { |
| 9 | + "schema": { |
| 10 | + "type": "object", |
| 11 | + "properties": { |
| 12 | + "value": { |
| 13 | + "type": "object", |
| 14 | + "additionalProperties": false, |
| 15 | + "properties": { |
| 16 | + "minimum": { "type": "number", "minimum": 0, "maximum": 100 }, |
| 17 | + "maximum": { "type": "number", "minimum": 0, "maximum": 100 }, |
| 18 | + "step": { "type": "number", "minimum": 0, "maximum": 100 } |
| 19 | + }, |
| 20 | + "required": ["minimum", "maximum"] |
| 21 | + }, |
| 22 | + "unit": { "type": "string", "enum": ["%"], "default": "%" } |
| 23 | + }, |
| 24 | + "additionalProperties": false, |
| 25 | + "required": ["value", "unit"] |
| 26 | + }, |
| 27 | + "enumCommands": [] |
| 28 | + }, |
| 29 | + "desiredHumidityLevel": { |
| 30 | + "schema": { |
| 31 | + "title": "Desired Humidity Level", |
| 32 | + "type": "object", |
| 33 | + "properties": { |
| 34 | + "value": { "type": "number", "minimum": 0, "maximum": 100 }, |
| 35 | + "unit": { "type": "string", "enum": ["%"], "default": "%" } |
| 36 | + }, |
| 37 | + "additionalProperties": false, |
| 38 | + "required": ["value"] |
| 39 | + }, |
| 40 | + "enumCommands": [] |
| 41 | + }, |
| 42 | + "resolution": { |
| 43 | + "schema": { |
| 44 | + "type": "object", |
| 45 | + "properties": { |
| 46 | + "value": { "type": "number", "minimum": 0, "maximum": 100 } |
| 47 | + }, |
| 48 | + "additionalProperties": false, |
| 49 | + "required": ["value"] |
| 50 | + }, |
| 51 | + "enumCommands": [] |
| 52 | + }, |
| 53 | + "relativeHumidityLevel": { |
| 54 | + "schema": { |
| 55 | + "title": "Relative Humidity Level", |
| 56 | + "type": "object", |
| 57 | + "properties": { |
| 58 | + "value": { "type": "number", "minimum": 0, "maximum": 100 }, |
| 59 | + "unit": { "type": "string", "enum": ["%"], "default": "%" } |
| 60 | + }, |
| 61 | + "additionalProperties": false, |
| 62 | + "required": ["value"] |
| 63 | + }, |
| 64 | + "enumCommands": [] |
| 65 | + } |
| 66 | + }, |
| 67 | + "commands": { |
| 68 | + "setDesiredHumidity": { |
| 69 | + "name": "setDesiredHumidity", |
| 70 | + "arguments": [ |
| 71 | + { |
| 72 | + "name": "level", |
| 73 | + "optional": false, |
| 74 | + "schema": { "type": "number", "minimum": 0, "maximum": 100 } |
| 75 | + } |
| 76 | + ] |
| 77 | + } |
| 78 | + } |
| 79 | +} |
0 commit comments