Skip to content

Commit

Permalink
Merge pull request #47 from apatsufas/1.5.0
Browse files Browse the repository at this point in the history
add support for new auth
  • Loading branch information
apatsufas authored Oct 8, 2024
2 parents 8d25f8a + 929af90 commit 5b66205
Show file tree
Hide file tree
Showing 21 changed files with 3,360 additions and 5,833 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Example:
"name": "Kitchen",
"host": "192.168.1.21",
"type": "Plug",
"updateInterval": 30,
"updateInterval": 10,
"timeout": 2
}
]
Expand Down Expand Up @@ -105,7 +105,7 @@ Example response from this endpoint:
"rssi":-61,
"region":"Europe/Athens",
"time_diff":120,
"lang":"en_US"}}
"lang":"en_US"}
```

## Information
Expand Down
16 changes: 10 additions & 6 deletions config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,23 +51,27 @@
]
},
"type": {
"title": "Colorlight, Light, Plug (with Power monitoring, use for P110) or Plug",
"title": "P100, P110, L510 etc.",
"type": "string",
"default": "plug",
"oneOf": [{
"title": "Plug",
"title": "P100",
"enum": ["Plug"]
},
{
"title": "Plug (with Power monitoring)",
"title": "P110",
"enum": ["PowerPlug"]
},
{
"title": "Light",
"title": "L510",
"enum": ["Light"]
},
{
"title": "Colorlight",
"title": "L520",
"enum": ["WhiteLight"]
},
{
"title": "L530",
"enum": ["Colorlight"]
}
],
Expand All @@ -76,7 +80,7 @@
"updateInterval": {
"title": "Interval in which the state of the Accessory should be updated (in seconds)",
"type": "number",
"default": "30",
"default": "10",
"required": false
},
"timeout": {
Expand Down
Loading

0 comments on commit 5b66205

Please sign in to comment.