[SOLUTION] Ajout Hue Ambiance Adore LTW017

Bonjour

J’ai acheté la lampe Philips Hue pour salle de bain que l’on met au dessus du miroir en IP44 a brancher directement sur le 230V. Elle s’appelle Hue Adore Bathroom Mirror Light. https://www.philips-hue.com/en-nz/p/hue-white-ambiance-adore-bathroom-mirror-light/3435111P7

Voici les fichiers manquant :
LTW017.png :
LTW017

ET voici le JSON : LTW017.json :

{
    "LTW017": {
        "name": "Hue Adore White Ambiance",
        "configuration" :{
            "gammut" : "2200K-6500K",
            "alwaysOn" : 1
        },
        "commands": [
            {
                "name": "Etat Luminosité",
                "type": "info",
                "subtype": "numeric",
                "display": {
                    "generic_type": "LIGHT_STATE"
                },
                "isVisible": 0,
                "isHistorized": 0,
                "logicalId": "luminosity_state"
            },
            {
                "name": "On",
                "type": "action",
                "subtype": "other",
                "display": {
                    "generic_type": "LIGHT_ON"
                },
                "value" : "Etat Luminosité",
                "isVisible": 0,
                "isHistorized": 0,
                "logicalId": "on"
            },
            {
                "name": "Off",
                "type": "action",
                "subtype": "other",
                "display": {
                    "generic_type": "LIGHT_OFF"
                },
                "value" : "Etat Luminosité",
                "isVisible": 0,
                "isHistorized": 0,
                "logicalId": "off"
            },
            {
                "name": "Luminosité",
                "type": "action",
                "subtype": "slider",
                "display": {
                    "generic_type": "LIGHT_SLIDER"
                },
                "configuration" :{
                    "minValue" : 0,
                    "maxValue" : 255
                },
                "template":{
                    "dashboard" : "light",
                    "mobile" : "light"
                },
                "value" : "Etat Luminosité",
                "isVisible": 1,
                "isHistorized": 0,
                "logicalId": "luminosity"
            },
            {
                "name": "Etat Couleur temp",
                "type": "info",
                "subtype": "numeric",
                "display": {
                    "generic_type": "DONT"
                },
                "configuration" :{
                    "minValue" : 153,
                    "maxValue" : 500
                },
                "isVisible": 0,
                "isHistorized": 0,
                "logicalId": "color_temp_state"
            },
            {
                "name": "Couleur temp",
                "type": "action",
                "subtype": "slider",
                "display": {
                    "generic_type": "DONT"
                },
                "configuration" :{
                    "minValue" : 153,
                    "maxValue" : 500
                },
                "value" : "Etat Couleur temp",
                "isVisible": 1,
                "isHistorized": 0,
                "logicalId": "color_temp"
            },
            {
                "name": "Etat Alerte",
                "type": "info",
                "subtype": "binary",
                "display": {
                    "generic_type": "DONT"
                },
                "isVisible": 0,
                "isHistorized": 0,
                "logicalId": "alert_state"
            },
            {
                "name": "Alerte On",
                "type": "action",
                "subtype": "other",
                "display": {
                    "generic_type": "LIGHT_MODE"
                },
                "template":{
                    "dashboard" : "btnAlert",
                    "mobile" : "alert"
                },
                "value" : "Etat Alerte",
                "isVisible": 0,
                "isHistorized": 0,
                "logicalId": "alert_on"
            },
            {
                "name": "Alerte Off",
                "type": "action",
                "subtype": "other",
                "display": {
                    "generic_type": "LIGHT_MODE"
                },
                "template":{
                    "dashboard" : "btnAlert",
                    "mobile" : "alert"
                },
                "value" : "Etat Alerte",
                "isVisible": 0,
                "isHistorized": 0,
                "logicalId": "alert_off"
            },
            {
                "name": "Etat Arc en ciel",
                "type": "info",
                "subtype": "binary",
                "display": {
                    "generic_type": "DONT"
                },
                "isVisible": 0,
                "isHistorized": 0,
                "logicalId": "rainbow_state"
            },
            {
                "name": "Arc en ciel On",
                "type": "action",
                "subtype": "other",
                "display": {
                    "generic_type": "LIGHT_MODE"
                },
                "template":{
                    "dashboard" : "btnCircle",
                    "mobile" : "circle"
                },
                "value" : "Etat Arc en ciel",
                "isVisible": 0,
                "isHistorized": 0,
                "logicalId": "rainbow_on"
            },
            {
                "name": "Arc en ciel Off",
                "type": "action",
                "subtype": "other",
                "display": {
                    "generic_type": "LIGHT_MODE"
                },
                "template":{
                    "dashboard" : "btnCircle",
                    "mobile" : "circle"
                },
                "value" : "Etat Arc en ciel",
                "isVisible": 0,
                "isHistorized": 0,
                "logicalId": "rainbow_off"
            },
            {
                "name": "Transition status",
                "type": "info",
                "subtype": "numeric",
                "display": {
                    "generic_type": "DONT"
                },
                "isVisible": 0,
                "isHistorized": 0,
                "logicalId": "transition_state"
            },
            {
                "name": "Transition",
                "type": "action",
                "subtype": "slider",
                "display": {
                    "generic_type": "DONT"
                },
                "configuration" :{
                    "minValue" : 0,
                    "maxValue" : 1800
                },
                "value" : "Transition status",
                "isVisible": 0,
                "isHistorized": 0,
                "logicalId": "transition"
            }
        ]
}
}
1 « J'aime »

Merci pour ta contribution