Skip to content

Commit

Permalink
Add missing subdevice type on/off switch
Browse files Browse the repository at this point in the history
  • Loading branch information
SwoopX committed Aug 7, 2024
1 parent b275070 commit 0286ec7
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions devices/generic/subdevices/on_off_switch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"schema": "subdevice1.schema.json",
"type": "$TYPE_ON_OFF_SWITCH",
"name": "On/Off switch",
"restapi": "/lights",
"order": 11,
"uuid": [
"$address.ext",
"0x01"
],
"items": [
"state/on",
"state/reachable"
]
}

0 comments on commit 0286ec7

Please sign in to comment.