-
-
Notifications
You must be signed in to change notification settings - Fork 60
Closed
Description
See
ioBroker.js-controller/packages/types-dev/objects.d.ts
Lines 291 to 297 in ff69753
| interface EnumCommon extends ObjectCommon { | |
| /** The IDs of the enum members */ | |
| members?: string[]; | |
| // Make it possible to narrow the object type using the custom property | |
| custom?: undefined; | |
| } |
When creating a new room via admin, common has an enabled property:
{
"type": "enum",
"common": {
"name": {
"en": "Carport",
"ru": "Навес",
"de": "Carport",
"fr": "Carport",
"it": "Posto Auto Coperto",
"nl": "Carport",
"pl": "Wiata",
"pt": "Telheiro",
"es": "Cochera",
"zh-cn": "车棚"
},
"enabled": true,
"color": false,
"desc": "",
"members": [],
"icon": "data:image/svg+xml;base64,PHN2...."
},
"native": {},
"_id": "enum.rooms.carport",
"from": "system.adapter.admin.0",
"user": "system.user.admin",
"ts": 1694607217465,
"acl": {
"object": 1636,
"owner": "system.user.admin",
"ownerGroup": "system.group.administrator"
}
}
I don't know where enabled is used, but admin creates it (tested with 6.10.1).
Metadata
Metadata
Assignees
Labels
No labels