{
  "myStrom SmartSwitch": {
    "custom": false,
    "payloadFunction": null,
    "vendor": "myStrom AG",
    "model": "myStrom WiFi Smart Switch Steckdose",
    "translation": {
		"de": "myStrom WiFi Smart Steckdose",
		"en": "myStrom WiFi Smart Socket",
		"fr": "Prise intelligente WiFi myStrom",
		"it": "Presa intelligente WiFi myStrom"
    },
    "urldoc": "https://mystrom.ch/de/wifi-switch/",
    "allowedInactivity": null,
    "icon": "power",
    "attributes": [
      {
        "power": {
          "attributeType": "power",
          "subtype": "input",
          "translation": {
            "de": "Leistung",
            "en": "Power",
			"fr": "Puissance",
			"it": "Potenza"
          },
          "isDigital": false,
          "unit": "W",
          "scale": null,
          "zero": null,
          "precision": 2,
          "map": null,
          "pipelineMode": "avg",
          "pipelineRaster": [
            "M15",
            "H1",
            "DAY"
          ],
          "viewer": true,
          "ar": true,
          "sourcePath": [
            "power"
          ]
        }
      },
      {
        "temperature": {
          "attributeType": "temperature",
          "subtype": "input",
          "translation": {
            "de": "Temperatur",
            "en": "Temperature",
			"fr": "Température",
			"it": "Temperatura"
          },
          "isDigital": false,
          "unit": "°C",
          "scale": null,
          "zero": null,
          "precision": 2,
          "map": null,
          "pipelineMode": "avg",
          "pipelineRaster": [
            "M15",
            "H1",
            "DAY"
          ],
          "viewer": true,
          "ar": true,
          "sourcePath": [
            "temperature"
          ]
        }
      },
      {
        "state": {
          "attributeType": "operating-status",
          "subtype": "input",
          "translation": {
            "de": "Schalter Zustand",
            "en": "Switch state",
			"fr": "Interrupteur État",
			"it": "Stato del commutatore"
          },
          "isDigital": true,
          "unit": null,
          "scale": null,
          "zero": null,
          "precision": null,
          "map": [
            {
              "value": 0,
              "map": {
                "de": "Aus",
                "en": "Off",
				"fr": "Off",
				"it": "Spento"
              }
            },
            {
              "value": 1,
              "map": {
                "de": "An",
                "en": "On",
				"fr": "Allumé",
				"it": "Acceso"
              }
            }
          ],
          "pipelineMode": "avg",
          "pipelineRaster": [
            "M15",
            "H1",
            "DAY"
          ],
          "viewer": true,
          "ar": true,
          "sourcePath": [
            "relay"
          ]
        }
      },
      {
        "setpoint": {
          "attributeType": "operating-status",
          "subtype": "output",
          "translation": {
            "de": "Schalter Sollwert",
            "en": "Switch setpoint",
			"fr": "Point de consigne du commutateur",
			"it": "Setpoint interruttore"
          },
          "isDigital": true,
          "unit": null,
          "scale": null,
          "zero": null,
          "precision": null,
          "map": [
            {
              "value": 0,
              "map": {
                "de": "Aus",
                "en": "Off",
				"fr": "Off",
				"it": "Spento"
              }
            },
            {
              "value": 1,
              "map": {
                "de": "An",
                "en": "On",
				"fr": "Allumé",
				"it": "Acceso"
              }
            }
          ],
          "pipelineMode": null,
          "pipelineRaster": null,
          "viewer": false,
          "ar": true,
          "sourcePath": []
        }
      }
    ]
  }
}