{
  "rtype": 2,   // 0 = modbus, 1 = http/json
  "mtype": 1,   // 0 = other, 1 = meter, 2 = inverter, 4 = battery

  "name": "M25 Shelly EM Tasmota", // as displayed in the config dialog
  "manufacturer": "Shelly",
  "dev_type": "M25_shelly_EM_Tasmota", // will be prefixed by "meter_"

  "delay_accumulated": false,   // true = Akkumulierte Werte (kWh) werden nur alle 3 Sekunden oder bei ausreichender Leistung abgefragt.

  // values used to build the model string
  
  "type_designation": {
    "address": "tasmota/discovery/349454744B58/config",
    "type": "string",
    "query": "md"
  },
  "version": {
    "address": "tasmota/discovery/349454744B58/config",
    "type": "string",
    "query": "ty"
  },
  "firmware_version": {
    "address": "tasmota/discovery/349454744B58/config",
    "type": "string",
    "query": "sw"  
  }, 
  "serial": {
    "address": "tasmota/discovery/349454744B58/config",
    "type": "string",
    "query": "mac"  
  }, 
  
  
  "voltage_l1": {
    "address": "bridge/fabde/wifi/m25solarpowermeter/tele/SENSOR",
    "type": "float",
    "query": "['ENERGY'].Voltage",
    "resolution": 1.0
  }, 
  "current_l1": {
    "address": "bridge/fabde/wifi/m25solarpowermeter/tele/SENSOR",
    "type": "float",
    "query": "['ENERGY'].Current[0]",
    "resolution": 1000
  }, 
  "power_w_l1": {
    "address": "bridge/fabde/wifi/m25solarpowermeter/tele/SENSOR",
    "type": "float",
    "query": "['ENERGY'].Power[0]",
    "resolution": 1.0
  },
  "import_wh": {
    "address": "bridge/fabde/wifi/m25solarpowermeter/tele/SENSOR",
    "type": "float",
    "query": "['ENERGY'].Total",
    "resolution": 1.0
  }
}
