La solution c’est sur le post qui t’a donné la solution, cela permet de le remonter au niveau du premier post pour aguiller les utilisateurs qui feront une recherche sur un problème identique.
@Idaho947 normalement il n’y as aucune raison que cela change, les infos sont dans le json d’import, peut être qu’a un moment celui-ci était configuré sur capteur et que depuis il à était mis à jour. D’ailleurs le Json actuel ne prend pas en compte les dernier génériques mis en place pas Jeedom.
Json d’import des Dimmables Light actuellemnt disponible:
html/plugins/deconz/core/config/types/Dimmable light.json
{
"commands": [
{
"name": "Etat",
"type": "info",
"isVisible": 0,
"isHistorized": 1,
"subtype": "numeric",
"generic_type": "ENERGY_STATE",
"logicalId": "state::on"
},
{
"name": "On",
"type": "action",
"subtype": "other",
"generic_type": "ENERGY_ON",
"isVisible": 1,
"isHistorized": 0,
"value" : "Etat",
"logicalId": "on::1",
"template": {
"dashboard": "prise",
"mobile": "prise"
}
},
{
"name": "Off",
"type": "action",
"subtype": "other",
"generic_type": "ENERGY_OFF",
"isVisible": 1,
"isHistorized": 0,
"value" : "Etat",
"logicalId": "on::0",
"template": {
"dashboard": "prise",
"mobile": "prise"
}
},
{
"name": "Etat Luminosité",
"type": "info",
"isVisible": 0,
"isHistorized": 1,
"subtype": "numeric",
"generic_type": "LIGHT_STATE",
"logicalId": "state::bri"
},
{
"name": "Luminosité",
"type": "action",
"subtype": "slider",
"generic_type": "LIGHT_SLIDER",
"isVisible": 1,
"isHistorized": 0,
"value" : "Etat Luminosité",
"logicalId": "bri::#slider#",
"configuration" : {
"minValue" : 0,
"maxValue" : 255
},
"template": {
"dashboard": "light",
"mobile": "light"
}
}
]
}
Et ici celui que j’utilise, modifier avec les bon Générique type et Light comme widget affiché, c’est toujours ça en moins à configurer lors de l’import d’un nouveau module.
{
"commands": [
{
"name": "Etat",
"type": "info",
"isVisible": 0,
"isHistorized": 1,
"subtype": "numeric",
"generic_type": "LIGHT_STATE",
"logicalId": "state::on"
},
{
"name": "On",
"type": "action",
"subtype": "other",
"generic_type": "LIGHT_ON",
"isVisible": 1,
"isHistorized": 0,
"value" : "Etat",
"logicalId": "on::1",
"template": {
"dashboard": "light",
"mobile": "light"
}
},
{
"name": "Off",
"type": "action",
"subtype": "other",
"generic_type": "LIGHT_OFF",
"isVisible": 1,
"isHistorized": 0,
"value" : "Etat",
"logicalId": "on::0",
"template": {
"dashboard": "light",
"mobile": "light"
}
},
{
"name": "Etat Luminosité",
"type": "info",
"isVisible": 0,
"isHistorized": 1,
"subtype": "numeric",
"generic_type": "LIGHT_BRIGHTNESS",
"logicalId": "state::bri"
},
{
"name": "Luminosité",
"type": "action",
"subtype": "slider",
"generic_type": "LIGHT_SLIDER",
"isVisible": 1,
"isHistorized": 0,
"value" : "Etat Luminosité",
"logicalId": "bri::#slider#",
"configuration" : {
"minValue" : 0,
"maxValue" : 255
},
"template": {
"dashboard": "light",
"mobile": "light"
}
}
]
}