Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
Mips2648 committed Jan 16, 2025
1 parent 5688977 commit f24b378
Show file tree
Hide file tree
Showing 10 changed files with 506 additions and 478 deletions.
125 changes: 64 additions & 61 deletions core/config/devices/dcl/dcl.json
Original file line number Diff line number Diff line change
@@ -1,67 +1,70 @@
{
"dcl": {
"name": "DCL",
"category" : {"light" :1},
"configuration": {
"haspairing": 1
},
"commands": [{
"name": "Etat",
"type": "info",
"subtype": "binary",
"isVisible": 1,
"isHistorized": 1,
"logicalId": "data::value",
"dcl": {
"name": "DCL",
"category": {
"light": 1
},
"configuration": {
"haspairing": 1
},
"commands": [
{
"name": "Etat",
"type": "info",
"subtype": "binary",
"isVisible": 1,
"isHistorized": 1,
"logicalId": "data::value",
"template": {
"dashboard": "light",
"mobile": "light"
}
},
{
"name": "Statut",
"type": "info",
"subtype": "string",
"isVisible": 1,
"isHistorized": 1,
"unite": "",
"logicalId": "data::label"
},
{
"name": "On",
"type": "action",
"subtype": "other",
"isVisible": 1,
"isHistorized": 0,
"unite": "",
"logicalId": "ac:on",
"display": {
"icon": "<i class=\"icon jeedom-lumiere-on\"></i>"
}
},
{
"name": "Off",
"type": "action",
"subtype": "other",
"isVisible": 1,
"isHistorized": 0,
"unite": "",
"logicalId": "ac:off",
"display": {
"icon": "<i class=\"icon jeedom-lumiere-off\"></i>"
}
},
{
"name": "Toggle",
"type": "action",
"subtype": "other",
"isVisible": 1,
"isHistorized": 0,
"unite": "",
"logicalId": "ac:toggle",
"display": {
"icon": "<i class=\"icon techno-fleches\"></i>"
}
},
{
"name": "Statut",
"type": "info",
"subtype": "string",
"isVisible": 1,
"isHistorized": 1,
"unite": "",
"logicalId": "data::label"
},
{
"name": "On",
"type": "action",
"subtype": "other",
"isVisible": 1,
"isHistorized": 0,
"unite": "",
"logicalId": "ac:on",
"display": {
"icon": "<i class=\"icon jeedom-lumiere-on\"></i>"
}
]
}
}
},
{
"name": "Off",
"type": "action",
"subtype": "other",
"isVisible": 1,
"isHistorized": 0,
"unite": "",
"logicalId": "ac:off",
"display": {
"icon": "<i class=\"icon jeedom-lumiere-off\"></i>"
}
},
{
"name": "Toggle",
"type": "action",
"subtype": "other",
"isVisible": 1,
"isHistorized": 0,
"unite": "",
"logicalId": "ac:toggle",
"display": {
"icon": "<i class=\"icon techno-fleches\"></i>"
}
}
]
}
}
125 changes: 64 additions & 61 deletions core/config/devices/generic/generic.json
Original file line number Diff line number Diff line change
@@ -1,67 +1,70 @@
{
"generic": {
"name": "Generic",
"category" : {"light" :1},
"configuration": {
"haspairing": 1
},
"commands": [{
"name": "Etat",
"type": "info",
"subtype": "binary",
"isVisible": 1,
"isHistorized": 1,
"logicalId": "data::value",
"generic": {
"name": "Generic",
"category": {
"light": 1
},
"configuration": {
"haspairing": 1
},
"commands": [
{
"name": "Etat",
"type": "info",
"subtype": "binary",
"isVisible": 1,
"isHistorized": 1,
"logicalId": "data::value",
"template": {
"dashboard": "light",
"mobile": "light"
}
},
{
"name": "Statut",
"type": "info",
"subtype": "string",
"isVisible": 1,
"isHistorized": 1,
"unite": "",
"logicalId": "data::label"
},
{
"name": "On",
"type": "action",
"subtype": "other",
"isVisible": 1,
"isHistorized": 0,
"unite": "",
"logicalId": "ac:on",
"display": {
"icon": "<i class=\"icon jeedom-lumiere-on\"></i>"
}
},
{
"name": "Off",
"type": "action",
"subtype": "other",
"isVisible": 1,
"isHistorized": 0,
"unite": "",
"logicalId": "ac:off",
"display": {
"icon": "<i class=\"icon jeedom-lumiere-off\"></i>"
}
},
{
"name": "Toggle",
"type": "action",
"subtype": "other",
"isVisible": 1,
"isHistorized": 0,
"unite": "",
"logicalId": "ac:toggle",
"display": {
"icon": "<i class=\"icon techno-fleches\"></i>"
}
},
{
"name": "Statut",
"type": "info",
"subtype": "string",
"isVisible": 1,
"isHistorized": 1,
"unite": "",
"logicalId": "data::label"
},
{
"name": "On",
"type": "action",
"subtype": "other",
"isVisible": 1,
"isHistorized": 0,
"unite": "",
"logicalId": "ac:on",
"display": {
"icon": "<i class=\"icon jeedom-lumiere-on\"></i>"
}
]
}
}
},
{
"name": "Off",
"type": "action",
"subtype": "other",
"isVisible": 1,
"isHistorized": 0,
"unite": "",
"logicalId": "ac:off",
"display": {
"icon": "<i class=\"icon jeedom-lumiere-off\"></i>"
}
},
{
"name": "Toggle",
"type": "action",
"subtype": "other",
"isVisible": 1,
"isHistorized": 0,
"unite": "",
"logicalId": "ac:toggle",
"display": {
"icon": "<i class=\"icon techno-fleches\"></i>"
}
}
]
}
}
119 changes: 61 additions & 58 deletions core/config/devices/groupdcl/groupdcl.json
Original file line number Diff line number Diff line change
@@ -1,64 +1,67 @@
{
"groupdcl": {
"name": "Groupe DCLs",
"category" : {"light" :1},
"commands": [{
"name": "Etat",
"type": "info",
"subtype": "binary",
"isVisible": 1,
"isHistorized": 1,
"logicalId": "data::value",
"groupdcl": {
"name": "Groupe DCLs",
"category": {
"light": 1
},
"commands": [
{
"name": "Etat",
"type": "info",
"subtype": "binary",
"isVisible": 1,
"isHistorized": 1,
"logicalId": "data::value",
"template": {
"dashboard": "light",
"mobile": "light"
}
},
{
"name": "Statut",
"type": "info",
"subtype": "string",
"isVisible": 1,
"isHistorized": 1,
"unite": "",
"logicalId": "data::label"
},
{
"name": "On",
"type": "action",
"subtype": "other",
"isVisible": 1,
"isHistorized": 0,
"unite": "",
"logicalId": "ac:on",
"display": {
"icon": "<i class=\"icon jeedom-lumiere-on\"></i>"
}
},
{
"name": "Off",
"type": "action",
"subtype": "other",
"isVisible": 1,
"isHistorized": 0,
"unite": "",
"logicalId": "ac:off",
"display": {
"icon": "<i class=\"icon jeedom-lumiere-off\"></i>"
}
},
{
"name": "Toggle",
"type": "action",
"subtype": "other",
"isVisible": 1,
"isHistorized": 0,
"unite": "",
"logicalId": "ac:toggle",
"display": {
"icon": "<i class=\"icon techno-fleches\"></i>"
}
},
{
"name": "Statut",
"type": "info",
"subtype": "string",
"isVisible": 1,
"isHistorized": 1,
"unite": "",
"logicalId": "data::label"
},
{
"name": "On",
"type": "action",
"subtype": "other",
"isVisible": 1,
"isHistorized": 0,
"unite": "",
"logicalId": "ac:on",
"display": {
"icon": "<i class=\"icon jeedom-lumiere-on\"></i>"
}
]
}
}
},
{
"name": "Off",
"type": "action",
"subtype": "other",
"isVisible": 1,
"isHistorized": 0,
"unite": "",
"logicalId": "ac:off",
"display": {
"icon": "<i class=\"icon jeedom-lumiere-off\"></i>"
}
},
{
"name": "Toggle",
"type": "action",
"subtype": "other",
"isVisible": 1,
"isHistorized": 0,
"unite": "",
"logicalId": "ac:toggle",
"display": {
"icon": "<i class=\"icon techno-fleches\"></i>"
}
}
]
}
}
Loading

0 comments on commit f24b378

Please sign in to comment.