UNPKG

iobroker.ecoflow-mqtt

Version:
2,131 lines (2,126 loc) 102 kB
const deviceStates = { DisplayPropertyUpload: { array: { plugInInfo_4p8_1Resv: { entity_type: 'text', entity_category: 'diagnostic', name: 'plug in info_4p8_1 resv', role: 'list' }, plugInInfo_4p8_2Resv: { entity_type: 'text', entity_category: 'diagnostic', name: 'plug in info_4p8_2 resv', role: 'list' }, plugInInfo_5p8Resv: { entity_type: 'text', entity_category: 'diagnostic', name: 'plug in info_5p8 resv', role: 'list' } }, string: { errcode: { entity_type: 'text', entity_category: 'diagnostic', name: 'errcode', role: 'info' }, utcTimezoneId: { entity_type: 'text', entity_category: 'diagnostic', name: 'utc timezone id', role: 'info' }, pcsFanLevel: { entity_type: 'text', entity_category: 'diagnostic', name: 'pcs fan level', role: 'info' }, plugInInfo_5p8Detail: { entity_type: 'text', entity_category: 'diagnostic', name: 'plug in info_5p8 detail', role: 'info' }, bmsErrCode: { entity_type: 'text', entity_category: 'diagnostic', name: 'bms err code', role: 'info' }, plugInInfo_4p8_1Detail: { entity_type: 'text', entity_category: 'diagnostic', name: 'plug in info_4p8_1 detail', role: 'info' }, plugInInfo_4p8_2Detail: { entity_type: 'text', entity_category: 'diagnostic', name: 'plug in info_4p8_2 detail', role: 'info' }, plugInInfo_4p8_1Sn: { entity_type: 'text', entity_category: 'diagnostic', name: 'SN of the device connected to the Extra Battery port', role: 'info' }, plugInInfo_4p8_1FirmVer: { entity_type: 'text', entity_category: 'diagnostic', name: 'plug in info_4p8_1 firm ver', role: 'info' }, plugInInfo_4p8_2Sn: { entity_type: 'text', entity_category: 'diagnostic', name: 'SN of the ecosystem product connected to Extra Battery Port 2', role: 'info' }, plugInInfo_4p8_2FirmVer: { entity_type: 'text', entity_category: 'diagnostic', name: 'plug in info_4p8_2 firm ver', role: 'info' }, plugInInfo_5p8DsgChg: { entity_type: 'text', entity_category: 'diagnostic', name: 'Charging/Discharging type of the Power In/Out port', role: 'info' }, plugInInfo_5p8Sn: { entity_type: 'text', entity_category: 'diagnostic', name: 'SN of the device connected to the Power In/Out port', role: 'info' }, plugInInfo_5p8FirmVer: { entity_type: 'text', entity_category: 'diagnostic', name: 'plug in info_5p8 firm ver', role: 'info' }, pdErrCode: { entity_type: 'text', entity_category: 'diagnostic', name: 'pd err code', role: 'info' }, llcErrCode: { entity_type: 'text', entity_category: 'diagnostic', name: 'llc err code', role: 'info' }, mpptErrCode: { entity_type: 'text', entity_category: 'diagnostic', name: 'mppt err code', role: 'info' }, plugInInfo_5p8ErrCode: { entity_type: 'text', entity_category: 'diagnostic', name: 'plug in info_5p8 err code', role: 'info' }, plugInInfo_4p8_1ErrCode: { entity_type: 'text', entity_category: 'diagnostic', name: 'plug in info_4p8_1 err code', role: 'info' }, plugInInfo_4p8_2ErrCode: { entity_type: 'text', entity_category: 'diagnostic', name: 'plug in info_4p8_2 err code', role: 'info' }, llcInvErrCode: { entity_type: 'text', entity_category: 'diagnostic', name: 'llc inv err code', role: 'info' } }, number: { powInSumW: { min: 0, max: 8000, unit_of_measurement: 'W', mult: 1, entity_type: 'sensor', device_class: 'power', role: 'value', name: 'Total input power', subrole: 'number' }, powOutSumW: { min: 0, max: 8000, unit_of_measurement: 'W', mult: 1, entity_type: 'sensor', device_class: 'power', role: 'value', name: 'Total output power', subrole: 'number' }, energyBackupStartSoc: { min: 0, max: 100, unit_of_measurement: '%', mult: 1, entity_type: 'sensor', device_class: 'battery', role: 'value', name: 'Backup reserve level', subrole: 'number' }, powGetQcusb1: { min: 0, max: 120, unit_of_measurement: 'W', mult: 1, entity_type: 'sensor', device_class: 'power', role: 'value', name: 'Real-time power of the USB 1 port', subrole: 'number' }, powGetQcusb2: { min: 0, max: 120, unit_of_measurement: 'W', mult: 1, entity_type: 'sensor', device_class: 'power', role: 'value', name: 'Real-time power of the USB 2 port', subrole: 'number' }, powGetTypec1: { min: 0, max: 4000, unit_of_measurement: 'W', mult: 1, entity_type: 'sensor', device_class: 'power', role: 'value', name: 'Real-time power of Type-C port 1', subrole: 'number' }, powGetTypec2: { min: 0, max: 4000, unit_of_measurement: 'W', mult: 1, entity_type: 'sensor', device_class: 'power', role: 'value', name: 'Real-time power of Type-C port 2', subrole: 'number' }, acAlwaysOnMiniSoc: { min: 0, max: 100, unit_of_measurement: '%', mult: 1, entity_type: 'sensor', device_class: 'battery', role: 'value', name: 'Sets the minimum SOC to enable the AC Always-on function', subrole: 'number' }, powGetPvH: { min: 0, max: 1600, unit_of_measurement: 'W', mult: 1, entity_type: 'sensor', device_class: 'power', role: 'value', name: 'Real-time high-voltage PV power', subrole: 'number' }, powGetPvL: { min: 0, max: 1000, unit_of_measurement: 'W', mult: 1, entity_type: 'sensor', device_class: 'power', role: 'value', name: 'Real-time low-voltage PV power', subrole: 'number' }, powGet_12v: { min: 0, max: 60, unit_of_measurement: 'W', mult: 1, entity_type: 'sensor', device_class: 'power', role: 'value', name: 'Real-time 12V power', subrole: 'number' }, powGet_24v: { min: 0, max: 400, unit_of_measurement: 'W', mult: 1, entity_type: 'sensor', device_class: 'power', role: 'value', name: 'Real-time 24V power', subrole: 'number' }, powGetLlc: { min: 0, max: 8000, unit_of_measurement: 'W', mult: 1, entity_type: 'sensor', device_class: 'power', role: 'value', name: 'pow get llc', subrole: 'number' }, powGetAc: { min: 0, max: 8000, unit_of_measurement: 'W', mult: 1, entity_type: 'sensor', device_class: 'power', role: 'value', name: 'Real-time AC power', subrole: 'number' }, powGetAcIn: { min: 0, max: 8000, unit_of_measurement: 'W', mult: 1, entity_type: 'sensor', device_class: 'power', role: 'value', name: 'Real-time AC input power', subrole: 'number' }, powGetAcHvOut: { min: 0, max: 8000, unit_of_measurement: 'W', mult: 1, entity_type: 'sensor', device_class: 'power', role: 'value', name: 'Real-time grid power', subrole: 'number' }, powGetAcLvOut: { min: 0, max: 4000, unit_of_measurement: 'W', mult: 1, entity_type: 'sensor', device_class: 'power', role: 'value', name: 'Real-time low-voltage AC output power', subrole: 'number' }, powGetAcLvTt30Out: { min: 0, max: 8000, unit_of_measurement: 'W', mult: 1, entity_type: 'sensor', device_class: 'power', role: 'value', name: 'Real-time power of the low-voltage AC output port', subrole: 'number' }, powGet_5p8: { min: 0, max: 4000, unit_of_measurement: 'W', mult: 1, entity_type: 'sensor', device_class: 'power', role: 'value', name: 'Real-time power of the Power In/Out port', subrole: 'number' }, utcTimezone: { min: -1200, max: 1200, unit_of_measurement: '', mult: 1, entity_type: 'sensor', role: 'value', name: 'utc timezone', subrole: 'number' }, powGetBms: { min: 0, max: 8000, unit_of_measurement: 'W', mult: 1, entity_type: 'sensor', device_class: 'power', role: 'value', name: 'pow get bms', subrole: 'number' }, powGet_4p8_1: { min: 0, max: 4000, unit_of_measurement: 'W', mult: 1, entity_type: 'sensor', device_class: 'power', role: 'value', name: 'Real-time power of Extra Battery Port 1', subrole: 'number' }, powGet_4p8_2: { min: 0, max: 4000, unit_of_measurement: 'W', mult: 1, entity_type: 'sensor', device_class: 'power', role: 'value', name: 'Real-time power of Extra Battery Port 2', subrole: 'number' }, acOutFreq: { min: 49, max: 61, unit_of_measurement: 'Hz', mult: 1, entity_type: 'sensor', device_class: 'frequency', role: 'value', name: 'AC output frequency', subrole: 'number' }, plugInInfoPvHChgVolMax: { min: 0, max: 150, unit_of_measurement: 'V', mult: 1, entity_type: 'sensor', device_class: 'voltage', role: 'value', name: 'Maximum charging voltage of the high-voltage PV port', subrole: 'number' }, plugInInfoPvHChgAmpMax: { min: 0, max: 15, unit_of_measurement: 'A', mult: 1, entity_type: 'sensor', device_class: 'current', role: 'value', name: 'Maximum charging current of the high-voltage PV port', subrole: 'number' }, bmsBattSoc: { min: 0, max: 100, unit_of_measurement: '%', mult: 1, entity_type: 'sensor', device_class: 'battery', role: 'value', name: 'SOC of the main battery', subrole: 'number' }, bmsBattSoh: { min: 0, max: 100, unit_of_measurement: '%', mult: 1, entity_type: 'sensor', device_class: 'battery', role: 'value', name: 'SOH of the main battery', subrole: 'number' }, bmsDesignCap: { min: 0, max: 80000, unit_of_measurement: 'mAh', mult: 1, entity_type: 'sensor', device_class: 'capacity', role: 'value', name: 'Battery capacity', subrole: 'number' }, bmsDsgRemTime: { min: 0, max: 15999, unit_of_measurement: 'min', mult: 1, entity_type: 'sensor', device_class: 'duration', role: 'value', name: 'Remaining discharging time', subrole: 'number' }, bmsChgRemTime: { min: 0, max: 15999, unit_of_measurement: 'min', mult: 1, entity_type: 'sensor', device_class: 'duration', role: 'value', name: 'Remaining charging time of the main battery', subrole: 'number' }, bmsMinCellTemp: { min: 0, max: 80, unit_of_measurement: '°C', mult: 1, entity_type: 'sensor', device_class: 'temperature', role: 'value', name: 'Minimum temperature of the main battery', subrole: 'number' }, bmsMaxCellTemp: { min: 0, max: 80, unit_of_measurement: '°C', mult: 1, entity_type: 'sensor', device_class: 'temperature', role: 'value', name: 'Temperature of the main battery', subrole: 'number' }, bmsMinMosTemp: { min: 0, max: 100, unit_of_measurement: '°C', mult: 1, entity_type: 'sensor', device_class: 'temperature', role: 'value', name: 'bms min mos temp', subrole: 'number' }, bmsMaxMosTemp: { min: 0, max: 100, unit_of_measurement: '°C', mult: 1, entity_type: 'sensor', device_class: 'temperature', role: 'value', name: 'bms max mos temp', subrole: 'number' }, cmsBattSoc: { min: 0, max: 100, unit_of_measurement: '%', mult: 1, entity_type: 'sensor', device_class: 'battery', role: 'value', name: 'Overall SOC', subrole: 'number' }, cmsBattSoh: { min: 0, max: 100, unit_of_measurement: '%', mult: 1, entity_type: 'sensor', device_class: 'battery', role: 'value', name: 'Overall SOH', subrole: 'number' }, cmsDsgRemTime: { min: 0, max: 15999, unit_of_measurement: 'min', mult: 1, entity_type: 'sensor', device_class: 'duration', role: 'value', name: 'Remaining discharging time', subrole: 'number' }, cmsChgRemTime: { min: 0, max: 15999, unit_of_measurement: 'min', mult: 1, entity_type: 'sensor', device_class: 'duration', role: 'value', name: 'Remaining charging time', subrole: 'number' }, timeTaskChangeCnt: { min: 0, max: 60, unit_of_measurement: '', mult: 1, entity_type: 'sensor', device_class: 'duration', role: 'value', name: 'time task change cnt', subrole: 'number' }, generatorPvHybridModeSocMax: { min: 0, max: 100, unit_of_measurement: '%', mult: 1, entity_type: 'sensor', device_class: 'battery', role: 'value', name: 'generator pv hybrid mode soc max', subrole: 'number' }, generatorCareModeStartTime: { min: 0, max: 2000, unit_of_measurement: 'h', mult: 1, entity_type: 'sensor', device_class: 'duration', role: 'value', name: 'generator care mode start time', subrole: 'number' }, plugInInfoAcInFeq: { min: 50, max: 60, unit_of_measurement: 'Hz', mult: 1, entity_type: 'sensor', device_class: 'frequency', role: 'value', name: 'AC input frequency', subrole: 'number' }, plugInInfoPvLChgVolMax: { min: 0, max: 60, unit_of_measurement: 'V', mult: 1, entity_type: 'sensor', device_class: 'voltage', role: 'value', name: 'Maximum charging voltage of the low-voltage PV port', subrole: 'number' }, plugInInfoPvLChgAmpMax: { min: 0, max: 20, unit_of_measurement: 'A', mult: 1, entity_type: 'sensor', device_class: 'current', role: 'value', name: 'Maximum charging current of the PV port', subrole: 'number' }, plugInInfo_5p8DsgPowMax: { min: 0, max: 4000, unit_of_measurement: 'W', mult: 1, entity_type: 'sensor', device_class: 'power', role: 'value', name: 'Maximum discharging power of the Power In/Out port', subrole: 'number' }, plugInInfoAcOutDsgPowMax: { min: 0, max: 4000, unit_of_measurement: 'W', mult: 1, entity_type: 'sensor', device_class: 'power', role: 'value', name: 'Maximum AC discharging power', subrole: 'number' }, plugInInfo_5p8ChgHalPowMax: { min: 0, max: 4000, unit_of_measurement: 'W', mult: 1, entity_type: 'sensor', device_class: 'power', role: 'value', name: 'Maximum AC charging power In/Out port', subrole: 'number' }, plugInInfoAcInChgHalPowMax: { min: 0, max: 2000, unit_of_measurement: 'W', mult: 1, entity_type: 'sensor', device_class: 'power', role: 'value', name: 'Maximum AC charging power', subrole: 'number' } }, diagnostic: { outputPowerOffMemory: { entity_type: 'text', entity_category: 'diagnostic', role: 'info', name: 'output power off memory', outputPowerOffMemory: { '0': 'OFF?', '1': 'ON?' } }, timeTaskConflictFlag: { entity_type: 'text', entity_category: 'diagnostic', role: 'info', name: 'time task conflict flag', timeTaskConflictFlag: { '0': 'no conflict?', '1': 'conflict?' } }, generatorPvHybridModeOpen: { entity_type: 'text', entity_category: 'diagnostic', role: 'info', name: 'Generator and solar energy hybrid mode', generatorPvHybridModeOpen: { '0': 'off', '1': 'on' } }, generatorCareModeOpen: { entity_type: 'text', entity_category: 'diagnostic', role: 'info', name: 'Night care mode switch', generatorCareModeOpen: { '0': 'off', '1': 'on' } }, fastChargeSwitch: { entity_type: 'text', entity_category: 'diagnostic', role: 'info', name: 'Fast charging slider switch', fastChargeSwitch: { '0': ' fast charging', '1': 'custom charging power' } }, energyBackupState: { entity_type: 'text', entity_category: 'diagnostic', role: 'info', name: 'energy backup state', energyBackupState: { '0': 'OK?' } }, energyBackupEn: { entity_type: 'text', entity_category: 'diagnostic', role: 'info', name: 'Backup reserve function switch', energyBackupEn: { '0': 'off', '1': 'on' } }, plugInInfoPvHFlag: { entity_type: 'text', entity_category: 'diagnostic', name: 'Indicates whether the high-voltage PV port is connected', role: 'info', plugInInfoPvHFlag: { '0': 'disconnected', '1': 'connected' } }, plugInInfoPvHType: { entity_type: 'text', entity_category: 'diagnostic', name: 'High-voltage PV port charging mode', role: 'info', plugInInfoPvHType: { '1': 'car charging', '2': 'solar charging', '3': 'DC charging' } }, plugInInfoPvLFlag: { entity_type: 'text', entity_category: 'diagnostic', name: 'Indicates whether the low-voltage PV port is connected', role: 'info', plugInInfoPvLFlag: { '0': 'disconnected', '1': 'connected' } }, utcSetMode: { entity_type: 'text', entity_category: 'diagnostic', name: 'utc set mode', role: 'info', utcSetMode: { '0': 'OK?' } }, plugInInfoPvHChargerFlag: { entity_type: 'text', entity_category: 'diagnostic', name: 'PV connection status', role: 'info', plugInInfoPvHChargerFlag: { '0': 'disconnected', '1': 'connected' } }, devSleepState: { entity_type: 'text', entity_category: 'diagnostic', name: 'Sleep status', role: 'info', devSleepState: { '0': 'Off?', '1': 'On?' } }, llcHvLvFlag: { entity_type: 'text', entity_category: 'diagnostic', name: 'High-voltage/Low-voltage AC identifier', role: 'info', llcHvLvFlag: { '0': 'LV?', '1': 'HV?' } }, cmsBmsRunState: { entity_type: 'text', entity_category: 'diagnostic', name: 'On/Off status', role: 'info', cmsBmsRunState: { '0': 'off', '1': 'on' } }, bmsChgDsgState: { entity_type: 'text', entity_category: 'diagnostic', name: 'Charging/Discharging status of the main battery', role: 'info', bmsChgDsgState: { '0': 'not charging or discharging', '1': 'discharging', '2': 'charging' } }, cmsChgDsgState: { entity_type: 'text', entity_category: 'diagnostic', name: 'Charging/Discharging status', role: 'info', cmsChgDsgState: { '0': 'not charging or discharging', '1': 'discharging', '2': 'charging' } }, acHvAlwaysOn: { entity_type: 'text', entity_category: 'diagnostic', name: 'Sets the High-voltage AC Always-on function', role: 'info', acHvAlwaysOn: { '0': 'OK?' } }, acLvAlwaysOn: { entity_type: 'text', entity_category: 'diagnostic', name: 'AC Always-on', role: 'info', acLvAlwaysOn: { '0': 'OK?' } }, plugInInfoPvLType: { entity_type: 'text', entity_category: 'diagnostic', name: 'PV port charging mode', role: 'info', plugInInfoPvLType: { '0': 'disconnected', '1': 'connected' } }, plugInInfoAcInFlag: { entity_type: 'text', entity_category: 'diagnostic', name: 'Indicates whether the AC charging port is connected', role: 'info', plugInInfoAcInFlag: { '0': 'disconnected', '1': 'connected' } }, plugInInfo_5p8Flag: { entity_type: 'text', entity_category: 'diagnostic', name: 'Indicates whether the Power In/Out port is connected', role: 'info', plugInInfo_5p8Flag: { '0': 'disconnected', '1': 'connected' } }, plugInInfo_5p8Type: { entity_type: 'text', entity_category: 'diagnostic', name: 'plug in info_5p8 type', role: 'info', plugInInfo_5p8Type: { '0': 'type?' } }, plugInInfo_4p8_1InFlag: { entity_type: 'text', entity_category: 'diagnostic', name: 'Indicates whether Extra Battery Port 1 is connected', role: 'info', plugInInfo_4p8_1InFlag: { '0': 'disconnected', '1': 'connected' } }, plugInInfo_4p8_1Type: { entity_type: 'text', entity_category: 'diagnostic', name: 'plug in info_4p8_1 type', role: 'info', plugInInfo_4p8_1Type: { '0': 'type?' } }, plugInInfo_4p8_2InFlag: { entity_type: 'text', entity_category: 'diagnostic', name: 'Indicates whether the Extra Battery port is connected', role: 'info', plugInInfo_4p8_2InFlag: { '0': 'disconnected', '1': 'connected' } }, plugInInfo_4p8_2Type: { entity_type: 'text', entity_category: 'diagnostic', name: 'plug in info_4p8_2 type', role: 'info', plugInInfo_4p8_2Type: { '0': 'type?' } }, plugInInfoPvLChargerFlag: { entity_type: 'text', entity_category: 'diagnostic', name: 'Identifier of charger connection to the low-voltage PV port', role: 'info', plugInInfoPvLChargerFlag: { '0': 'disconnected', '1': 'connected' } }, plugInInfo_4p8_1DsgChgType: { entity_type: 'text', entity_category: 'diagnostic', name: 'Charging/Discharging type of Extra Battery Port 1', role: 'info', plugInInfo_4p8_1DsgChgType: { '0': 'reserved', '1': 'charging/discharging', '2': 'charging only', '3': 'discharging only' } }, plugInInfo_4p8_2DsgChgType: { entity_type: 'text', entity_category: 'diagnostic', name: 'Charging/Discharging type of Extra Battery Port 2', role: 'info', plugInInfo_4p8_2DsgChgType: { '0': 'reserved', '1': 'charging/discharging', '2': 'charging only', '3': 'discharging only' } }, plugInInfoAcChargerFlag: { entity_type: 'text', entity_category: 'diagnostic', name: 'Indicates whether the charger is connected to the AC port', role: 'info', plugInInfoAcChargerFlag: { '0': 'not charging?', '1': 'charging?' } }, plugInInfo_5p8ChargerFlag: { entity_type: 'text', entity_category: 'diagnostic', name: 'Operating status of the device connected to the Power In/Out port', role: 'info', plugInInfo_5p8ChargerFlag: { '0': 'not charging?', '1': 'charging?' } }, plugInInfo_5p8RunState: { entity_type: 'text', entity_category: 'diagnostic', name: 'Operating status of the device connected to the Power In/Out port', role: 'info', plugInInfo_5p8RunState: { '0': 'OK?' } }, plugInInfo_4p8_1ChargerFlag: { entity_type: 'text', entity_category: 'diagnostic', name: 'Identifier of charger connection to Extra Battery Port 1', role: 'info', plugInInfo_4p8_1ChargerFlag: { '0': 'not charging?', '1': 'charging?' } }, plugInInfo_4p8_1RunState: { entity_type: 'text', entity_category: 'diagnostic', name: 'Operating status of the device connected to Extra Battery Port 1', role: 'info', plugInInfo_4p8_1RunState: { '0': 'OK?' } }, plugInInfo_4p8_2ChargerFlag: { entity_type: 'text', entity_category: 'diagnostic', name: 'Identifier of charger connection to Extra Battery Port 2', role: 'info', plugInInfo_4p8_2ChargerFlag: { '0': 'not charging?', '1': 'charging?' } }, plugInInfo_4p8_2RunState: { entity_type: 'text', entity_category: 'diagnostic', name: 'Operating status of the device connected to Extra Battery Port 2', role: 'info', plugInInfo_4p8_2RunState: { '0': 'OK?' } }, pcsFanErrFlag: { entity_type: 'text', entity_category: 'diagnostic', name: 'pcs fan err flag', role: 'info', pcsFanErrFlag: { '0': 'OK?', '1': 'error' } }, flowInfoQcusb1: { entity_type: 'text', entity_category: 'diagnostic', name: 'USB output port 1 switch status', role: 'info', flowInfoQcusb1: { '0': 'off', '2': 'on' } }, flowInfoQcusb2: { entity_type: 'text', entity_category: 'diagnostic', name: 'USB output port 2 switch status', role: 'info', flowInfoQcusb2: { '0': 'off', '2': 'on' } }, flowInfoTypec1: { entity_type: 'text', entity_category: 'diagnostic', name: 'Type-C port 1 switch status', role: 'info', flowInfoTypec1: { '0': 'off', '2': 'on' } }, flowInfoTypec2: { entity_type: 'text', entity_category: 'diagnostic', name: 'Type-C port 2 switch status', role: 'info', flowInfoTypec2: { '0': 'off', '2': 'on' } }, flowInfoPvH: { entity_type: 'text', entity_category: 'diagnostic', name: 'High-voltage PV switch status', role: 'info', flowInfoPvH: { '0': 'off', '2': 'on' } }, flowInfoPvL: { entity_type: 'text', entity_category: 'diagnostic', name: 'Low-voltage PV switch status', role: 'info', flowInfoPvL: { '0': 'off', '2': 'on' } }, flowInfo_12v: { entity_type: 'text', entity_category: 'diagnostic', name: 'flow info_12v', role: 'info', flowInfo_12v: { '0': 'off', '2': 'on' } }, flowInfo_24v: { entity_type: 'text', entity_category: 'diagnostic', name: 'flow info_24v', role: 'info', flowInfo_24v: { '0': 'off', '2': 'on' } }, flowInfoAc2dc: { entity_type: 'text', entity_category: 'diagnostic', name: 'flow info ac2dc', role: 'info', flowInfoAc2dc: { '0': 'off', '2': 'on' } }, flowInfoDc2ac: { entity_type: 'text', entity_category: 'diagnostic', name: 'flow info dc2ac', role: 'info', flowInfoDc2ac: { '0': 'off', '2': 'on' } }, flowInfoAcIn: { entity_type: 'text', entity_category: 'diagnostic', name: 'AC input switch status', role: 'info', flowInfoAcIn: { '0': 'off', '2': 'on' } }, flowInfoAcHvOut: { entity_type: 'text', entity_category: 'diagnostic', name: 'High-voltage AC output switch status', role: 'info', flowInfoAcHvOut: { '0': 'off', '2': 'on' } }, flowInfoAcLvOut: { entity_type: 'text', entity_category: 'diagnostic', name: 'AC low-voltage output switch status', role: 'info', flowInfoAcLvOut: { '0': 'off', '2': 'on' } }, flowInfo_5p8In: { entity_type: 'text', entity_category: 'diagnostic', name: 'Power In/Out port switch status', role: 'info', flowInfo_5p8In: { '0': 'off', '2': 'on' } }, flowInfo_5p8Out: { entity_type: 'text', entity_category: 'diagnostic', name: 'Power In/Out port switch status', role: 'info', flowInfo_5p8Out: { '0': 'off', '2': 'on' } }, flowInfoBmsDsg: { entity_type: 'text', entity_category: 'diagnostic', name: 'flow info bms dsg', role: 'info', flowInfoBmsDsg: { '0': 'off', '2': 'on' } }, flowInfoBmsChg: { entity_type: 'text', entity_category: 'diagnostic', name: 'flow info bms chg', role: 'info', flowInfoBmsChg: { '0': 'off', '2': 'on' } }, flowInfo_4p8_1In: { entity_type: 'text', entity_category: 'diagnostic', name: 'Extra Battery Port 1 input switch status', role: 'info', flowInfo_4p8_1In: { '0': 'off', '2': 'on' } }, flowInfo_4p8_1Out: { entity_type: 'text', entity_category: 'diagnostic', name: 'Extra Battery Port 1 switch status', role: 'info', flowInfo_4p8_1Out: { '0': 'off', '2': 'on' } }, flowInfo_4p8_2In: { entity_type: 'text', entity_category: 'diagnostic', name: 'Extra Battery Port 2 input switch status', role: 'info', flowInfo_4p8_2In: { '0': 'off', '2': 'on' } }, flowInfo_4p8_2Out: { entity_type: 'text', entity_category: 'diagnostic', name: 'Extra Battery port output switch status', role: 'info', flowInfo_4p8_2Out: { '0': 'off', '2': 'on' } } }, switch: { cmsOilSelfStart: { entity_type: 'switch', device_class: 'switch', payload_off: 'off', payload_on: 'on', name: 'Smart Generator auto start/stop switch', role: 'switch', cmsOilSelfStart: { '0': 'off', '1': 'on' } }, acEnergySavingOpen: { entity_type: 'switch', device_class: 'switch', payload_off: 'off', payload_on: 'on', name: 'AC energy-saving mode switch', role: 'switch', acEnergySavingOpen: { '0': 'off', '1': 'on' } }, xboostEn: { entity_type: 'switch', device_class: 'switch', payload_off: 'off', payload_on: 'on', name: 'X-Boost switch', role: 'switch', xboostEn: { '0': 'off', '1': 'on' } }, enBeep: { entity_type: 'switch', device_class: 'switch', payload_off: 'off', payload_on: 'on', name: 'Beeper on/off. (true: on, false: off.)', role: 'switch', enBeep: { '0': 'off', '1': 'on' } }, llc_GFCIFlag: { entity_type: 'switch', device_class: 'switch', payload_off: 'off', payload_on: 'on', name: 'GFCI switch', role: 'switch', llc_GFCIFlag: { '0': 'off', '1': 'on' } }, }, level: { cmsOilOnSoc: { min: 10, max: 30, unit_of_measurement: '%', mult: 1, step: 1, entity_type: 'number', device_class: 'battery', name: 'SOC for automatically starting the Smart Generator', role: 'level' }, cmsOilOffSoc: { min: 50, max: 100, unit_of_measurement: '%', mult: 1, step: 1, entity_type: 'number', device_class: 'battery', name: 'SOC for automatically stopping the Smart Generator', role: 'level' }, lcdLight: { min: 0, max: 100, unit_of_measurement: '%', mult: 0.390625, step: 1, entity_type: 'number', device_class: 'illuminance', name: 'Screen brightness', role: 'level', subrole: 'number' }, devStandbyTime: { min: 0, max: 1440, unit_of_measurement: 'min', mult: 1, step: 1, entity_type: 'select', device_class: 'duration', name: 'Device timeout (min)', role: 'level', subrole: 'timer', //30m,1h,2h,4h,6h,12h,24h,never select: ['Never', '30 min', '1 hr', '2 hr', '4 hr', '6 hr', '12 hr', '24 hr'], select_obj: { Never: 0, '30 min': 30, '1 hr': 60, '2 hr': 120, '4 hr': 240, '6 hr': 360, '12 hr': 720, '24 hr': 1440 }, states: { 0: 'Never', 30: '30 min', 60: '1 hr', 120: '2 hr', 240: '4 hr', 360: '6 hr', 720: '12 hr', 1440: '24 hr' } }, screenOffTime: { min: 0, max: 1800, unit_of_measurement: 's', mult: 1, step: 1, entity_type: 'select', device_class: 'duration', name: 'Screen timeout (s)', role: 'level', subrole: 'timer', //10s,30s,1m,5m,30m,never select: ['Never', '10 s', '30 s', '1 min', '5 min', '30 min'], select_obj: { Never: 0, '10 s': 10, '30 s': 30, '1 min': 60, '5 min': 300, '30 min': 1800 }, states: { 0: 'Never', 10: '10 s', 30: '30 s', 60: '1 min', 300: '5 min', 1800: '30 min' } }, cmsMaxChgSoc: { min: 50, max: 100, unit_of_measurement: '%', mult: 1, step: 1, entity_type: 'number', device_class: 'battery', name: 'Charge limit', role: 'level' }, cmsMinDsgSoc: { min: 0, max: 30, unit_of_measurement: '%', mult: 1, step: 1, entity_type: 'number', device_class: 'battery', name: 'Discharge limit', role: 'level' }, //cfgBleStandbyTime: (Hours)? //Wifi/BT timeout 1h,6h,12h,1day,7day,30day //2592000 bleStandbyTime: { min: 0, max: 2592000, unit_of_measurement: 's', mult: 1, step: 1, entity_type: 'select', device_class: 'duration', name: 'Device timeout', role: 'level', subrole: 'timer', //1h,6h,12h,1day,7day,30day select: ['Never', '1 hr', '6 hr', '24 hr', '7 day', '30 day'], select_obj: { Never: 0, '1 hr': 3600, '6 hr': 21600, '24 hr': 86400, '7 day': 604800, '30 day': 2592000 }, states: { 0: 'Never', 3600: '1 hr', 21600: '6 hr', 86400: '24 hr', 604800: '7 day', 2592000: '30 day' } }, dcStandbyTime: { min: 0, max: 1440, unit_of_measurement: 'min', mult: 1, step: 1, entity_type: 'select', device_class: 'duration', name: 'DC timeout (min)', role: 'level', subrole: 'timer', //30m,1h,2h,4h,6h,12h,24h,never select: ['Never', '30 min', '1 hr', '2 hr', '4 hr', '6 hr', '12 hr', '24 hr'], select_obj: { Never: 0, '30 min': 30, '1 hr': 60, '2 hr': 120, '4 hr': 240, '6 hr': 360, '12 hr': 720, '24 hr': 1440 }, states: { 0: 'Never', 30: '30 min', 60: '1 hr', 120: '2 hr', 240: '4 hr', 360: '6 hr', 720: '12 hr', 1440: '24 hr' } }, acStandbyTime: { min: 0, max: 1440, unit_of_measurement: 'min', mult: 1, step: 1, entity_type: 'select', device_class: 'duration', name: 'AC timeout (min)', role: 'level', subrole: 'timer', //30m,1h,2h,4h,6h,12h,24h,never select: ['Never', '30 min', '1 hr', '2 hr', '6 hr', '12 hr', '24 hr'], select_obj: { Never: 0, '30 min': 30, '1 hr': 60, '2 hr': 120, '6 hr': 360, '12 hr': 720, '24 hr': 1440 }, states: { 0: 'Never', 30: '30 min', 60: '1 hr', 120: '2 hr', 360: '6 hr', 720: '12 hr', 1440: '24 hr' } }, plugInInfoAcInChgPowMax: { min: 100, max: 1500, unit_of_measurement: 'W', mult: 1, step: 1, entity_type: 'number', device_class: 'power', name: 'Maximum AC input power for charging', role: 'level' }, plugInInfo_5p8ChgPowMax: { min: 500, max: 4000, unit_of_measurement: 'W', mult: 1, step: 1, entity_type: 'number', device_class: 'power', name: 'Maximum charging power of the Power In/Out port', role: 'level' }, multiBpChgDsgMode: { min: 0, max: 2, unit_of_measurement: '', mult: 1, step: 1, entity_type: 'select', device_class: 'power', name: 'Battery charging/discharging order', role: 'level', subrole: 'number', select: ['default', 'automatic', 'main bat prio'], select_obj: { default: 0, automatic: 1, 'main bat prio': 2 }, states: { 0: 'Never', 1: 'automatic', 2: 'main bat prio' } //website //0: default //1: The device will automatically decide the charge and discharge order based on each battery's voltage. //2: The main battery is prioritized during charging, and extra batteries are prioritized during discharging. }, plugInInfoPvLDcAmpMax: { min: 0, max: 15, unit_of_measurement: 'A', mult: 1, step: 1, entity_type: 'sensor', //number device_class: 'current', name: 'Maximum input current of the low-voltage PV port', role: 'level' }, plugInInfoPvHDcAmpMax: { min: 0, max: 10, unit_of_measurement: 'A', mult: 1, step: 1, entity_type: 'sensor', // number device_class: 'current', name: 'Maximum input current of the high-voltage PV port', role: 'level' }, } }, RuntimePropertyUpload: { diagnostic: { acPhaseType: { entity_type: 'text', entity_category: 'diagnostic', name: 'ac phase type', role: 'info', acPhaseType: { '0': 'OK?' } }, pcsWorkMode: { entity_type: 'text', entity_category: 'diagnostic', name: 'pcs work mode', role: 'info', pcsWorkMode: { '0': 'OK?' } }, plugInInfoAcOutType: { entity_type: 'text', entity_category: 'diagnostic', name: 'plug in info ac out type', role: 'info', plugInInfoAcOutType: { '0': 'OK?' } }, mpptMonitorFlag: { entity_type: 'text', entity_category: 'diagnostic', name: 'mppt monitor flag', role: 'info', mpptMonitorFlag: { '0': 'OK?' } }, bmsBalState: { entity_type: 'text', entity_category: 'diagnostic', name: 'bms bal state', role: 'info', bmsBalState: { '0': 'OK?' } }, bmsAlmState: { entity_type: 'text', entity_category: 'diagnostic', name: 'bms alm state', role: 'info', bmsAlmState: { '0': 'OK?' } }, bmsProState: { entity_type: 'text', entity_category: 'diagnostic', name: 'bms pro state', role: 'info', bmsProState: { '0': 'OK?' } }, bmsFltState: { entity_type: 'text', entity_category: 'diagnostic', name: 'bms flt state', role: 'info', bmsFltState: { '0': 'OK?' } }, bmsAlmState_2: { entity_type: 'text', entity_category: 'diagnostic', name: 'bms alm state_2', role: 'info', bmsAlmState_2: { '0': 'OK?' } }, bmsProState_2: { entity_type: 'text', entity_category: 'diagnostic', name: 'bms pro state_2', role: 'info', bmsProState_2: { '0': 'OK?' } }, invMonitorFlag: { entity_type: 'text', entity_category: 'diagnostic', name: 'inv monitor flag', role: 'info', invMonitorFlag: { '0': 'OK?' } }, invMainFsmstate: { entity_type: 'text', entity_category: 'diagnostic', name: 'inv main fsmstate', role: 'info', invMainFsmstate: { '0': 'OK?' } }, l1MainFsmstate: { entity_type: 'text', entity_category: 'diagnostic', name: 'l1 main fsmstate', role: 'info', l1MainFsmstate: { '0': 'OK?' } }, l2MainFsmstate: { entity_type: 'text', entity_category: 'diagnostic', name: 'l2 main fsmstate', role: 'info', l2MainFsmstate: { '0': 'OK?' } }, llcMonitorFlag: { entity_type: 'text', entity_category: 'diagnostic', name: 'llc monitor flag', role: 'info', llcMonitorFlag: { '0': 'OK?' } }, llcFsmstate: { entity_type: 'text', entity_category: 'diagnostic', name: 'llc fsmstate', role: 'info', llcFsmstate: { '0': 'OK?' } }, pdToInvDsgMode: { entity_type: 'text', entity_category: 'diagnostic', name: 'pd to inv dsg mode', role: 'info', pdToInvDsgMode: { '0': 'OK?' } } }, icon: { bmsOverloadIcon: { entity_type: 'text', entity_category: 'diagnostic', name: 'bms overload icon', role: 'info', bmsOverloadIcon: { '0': 'OK?' } }, bmsWarnIcon: { entity_type: 'text', entity_category: 'diagnostic', name: 'bms warn icon', role: 'info', bmsWarnIcon: { '0': 'OK?' } }, bmsLimitIcon: { entity_type: 'text', entity_category: 'diagnostic', name: 'bms limit icon', role: 'info', bmsLimitIcon: { '0': 'OK?' } }, bmsHighTempIcon: { min: 0, max: 60, unit_of_measurement: '°C', mult: 1, entity_type: 'sensor', device_class: 'temperature', role: 'value', name: 'bms high temp icon', subrole: 'number' }, bmsLowTempIcon: { min: 0, max: 60, unit_of_measurement: '°C', mult: 1, entity_type: 'sensor', device_class: 'temperature', role: 'value', name: 'bms low temp icon', subrole: 'number' } }, number: { tempPcsDc: { min: 0, max: 100, unit_of_measurement: '°C', mult: 1, entity_type: 'sensor', device_class: 'temperature', role: 'value', name: 'temp pcs dc', subrole: 'number' }, tempPcsAc: { min: 0, max: 100, unit_of_measurement: '°C', mult: 1, entity_type: 'sensor', device_class: 'temperature', role: 'value', name: 'temp pcs ac', subrole: 'number' }, tempPvH: { min: 0, max: 100, unit_of_measurement: '°C', mult: 1, entity_type: 'sensor', device_class: 'temperature', role: 'value', name: 'temp pv h', subrole: 'number' }, tempPvL: { min: 0, max: 100, unit_of_measurement: '°C', mult: 1, entity_type: 'sensor', device_class: 'temperature', role: 'value', name: 'temp pv l', subrole: 'number' }, plugInInfoPvHVol: { min: 0, max: 150, unit_of_measurement: 'V', mult: 1, entity_type: 'sensor', device_class: 'voltage', role: 'value', name: 'plug in info pv h vol', subrole: 'number' }, plugInInfoPvLVol: { min: 0, max: 60, unit_of_measurement: 'V', mult: 1, entity_type: 'sensor', device_class: 'voltage', role: 'value', name: 'plug in info pv l vol', subrole: 'number' }, plugInInfoAcOutFreq: { min: 49, max: 61, unit_of_measurement: 'Hz', mult: 1, entity_type: 'sensor', device_class: 'frequency', role: 'value', name: 'plug in info ac out freq', subrole: 'number' }, plugInInfo_5p8Freq: { min: 0, max: 61, unit_of_measurement: 'Hz', mult: 1, entity_type: 'sensor', device_class: 'frequency', role: 'value', name: 'plug in info_5p8 freq', subrole: 'number' }, plugInInfoAcInVol: { min: 0, max: 250, unit_of_measurement: 'V', mult: 1, entity_type: 'sensor', device_class: 'voltage', role: 'value', name: 'plug in info ac in vol', subrole: 'number' }, plugInInfo_24vVol: { min: 0, max: 30, unit_of_measurement: 'V', mult: 1, entity_type: 'sensor', device_class: 'voltage', role: 'value', name: 'plug in info_24v vol', subrole: 'number' }, plugInInfo_24vAmp: { min: -30, max: 30, unit_of_measurement: 'A', mult: 1, entity_type: 'sensor', device_class: 'current', role: 'value', name: 'plug in info_24v amp', subrole: 'number' }, plugInInfoL1Vol: { min: 0, max: 240, unit_of_measurement: 'V', mult: 1, entity_type: 'sensor', device_class: 'voltage', role: 'value', name: 'plug in info l1 vol', subrole: 'number' }, plugInInfo_4p8_1Vol: { min: 0, max: 240, unit_of_measurement: 'V', mult: 1, entity_type: 'sensor', device_class: 'voltage', role: 'value', name: 'plug in info_4p8_1 vol', subrole: 'number' }, plugInInfo_4p8_2Vol: { min: 0, max: 240, unit_of_measurement: 'V', mult: 1, entity_type: 'sensor', device_class: 'voltage', role: 'value', name: 'plug in info_4p8_2 vol', subrole: 'number' }, plugInInfoBmsVol: { min: 0, max: 60, unit_of_measurement: 'V', mult: 1, entity_type: 'sensor', device_class: 'voltage', role: 'value', name: 'plug in info bms vol', subrole: 'number' }, plugInInfoL1Amp: { min: 0, max: 30, unit_of_measurement: 'A', mult: 1, entity_type: 'sensor', device_class: 'current', role: 'value', name: 'plug in info l1 amp', subrole: 'number' }, plugInInfoL2Vol: { min: 0, max: 240, unit_of_measurement: 'V', mult: 1, entity_type: 'sensor', device_class: 'voltage', role: 'value', name: 'plug in info l2 vol', subrole: 'number' }, plugInInfoL2Amp: { min: 0, max: 30, unit_of_measurement: 'A', mult: 1, entity_type: 'sensor', device_class: 'current', role: 'value', name: 'plug in info l2 amp', subrole: 'number' }, plugInInfoAcpL1Vol: { min: 0, max: 240, unit_of_measurement: 'V', mult: 1, entity_type: 'sensor', device_class: 'voltage', role: 'value', name: 'plug in info acp l1 vol', subrole: 'number' }, plugInInfoAcpL1l2Vol: { min: 0, max: 240, unit_of_measurement: 'V', mult: 1, entity_type: 'sensor', device_class: 'voltage', role: 'value', name: 'plug in info acp l1l2 vol', subrole: 'number' }, plugInInfoPvHAmp: { min: 0, max: 15, unit_of_measurement: 'A', mult: 1, entity_type: 'sensor', device_class: 'current', role: 'value', name: 'plug in info pv h amp', subrole: 'number' }, plugInInfoPvLAmp: { min: 0, max: 20, unit_of_measurement: 'A', mult: 1, entity_type: 'sensor', device_class: 'current', role: 'value', name: 'plug in info pv l amp', subrole: 'number' }, plugInInfoAcInAmp: { min: 0, max: 30, unit_of_measurement: 'A', mult: 1, entity_type: 'sensor', device_class: 'current', role: 'value', name: 'plug in info ac in amp', subrole: 'number' }, plugInInfo_4p8_1Amp: { min: 0, max: 30, unit_of_measurement: 'A', mult: 1, entity_type: 'sensor', device_class: 'current', role: 'value', name: 'plug in info_4p8_1 amp', subrole: 'number' }, plugInInfo_4p8_2Amp: { min: 0, max: 30, unit_of_measurement: 'A', mult: 1, entity_type: 'sensor', device_class: 'current', role: 'value', name: 'plug in info_4p8_2 amp', subrole: 'number' }, bmsBattVol: { min: 0, max: 60, unit_of_measurement: 'V', mult: 1, entity_type: 'sensor', device_class: 'voltage', role: 'value', name: 'bms batt vol', subrole: 'number' }, bmsBattAmp: { min: -80, max: 80, unit_of_measurement: 'A', mult: 1, entity_type: 'sensor', device_class: 'current', role: 'value', name: 'bms batt amp', subrole: 'number' }, bmsFullCap: { min: 0, max: 80000, unit_of_measurement: 'mAh', mult: 1, entity_type: 'sensor', device_class: 'capacity', role: 'value', name: 'bms full cap', subrole: 'number' }, bmsRemainCap: { min: 0, max: 80000, unit_of_measurement: 'mAh', mult: 1, entity_type: 'sensor', device_class: 'capacity', role: 'value', name: 'bms remain cap', subrole: 'number' }, bmsMinCellVol: { min: 0, max: 5, unit_of_measurement: 'V', mult: 0.001, entity_type: 'sensor', device_class: 'voltage', role: 'value', name: 'Minimum voltage of the main battery', subrole: 'number' }, bmsMaxCellVol: { min: 0, max: 5, unit_of_measurement: 'V', mult: 0.001, entity_type: 'sensor', device_class: 'voltage', role: 'value', name: 'bms max cell vol', subrole: 'number' }, cmsBattVol: { min: 0, max: 60, unit_of_measurement: 'V', mult: 1, entity_type: 'sensor', device_class: 'voltage', role: 'value', name: 'cms batt vol', subrole: 'number' }, cmsBattAmp: { min: -80, max: 80, unit_of_measurement: 'A', mult: 1, entity_type: 'sensor', device_class: 'current', role: 'value', name: 'cms batt amp', subrole: 'number' }, cmsChgReqVol: { min: 0, max: 60, unit_of_measurement: 'V', mult: 1, entity_type: 'sensor', device_class: 'voltage', role: 'value', name: 'cms chg req vol', subrole: 'number' }, cmsChgReqAmp: { min: 0, max: 80, unit_of_measurement: 'A', mult: 1, entity_type: 'sensor', device_class: 'current', role: 'value', name: 'cms chg req amp', subrole: 'number' }, runtimePropertyFullUploadPeriod: { min: 0, unit_of_measurement: 's', mult: 1, entity_type: 'sensor', device_class: 'duration', role: 'value', name: 'runtime property full upload period', subrole: 'number' }, runtimePropertyIncrementalUploadPeriod: { min: 0, unit_of_measurement: 's', mult: 1, entity_type: 'sensor', device_class: 'duration', role: 'value', name: 'runtime property incremental upload period', subrole: 'number' }, mpptRecvCmsChgReqVol: { min: 0, max: 60, unit_of_measurement: 'V', mult: 1, entity_type: 'sensor', device_class: 'voltage', role: 'value', name: 'mppt recv cms chg req vol', subrole: 'number' }, mpptRecvCmsChgReqAmp: { min: 0, max: 80, unit_of_measurement: 'A', mult: 1, entity_type: 'sensor', device_class: 'current', role: 'value', name: 'mppt recv cms chg req amp', subrole: 'number' }, pv2BusVol: { min: 0, max: 150, unit_of_measurement: 'V', mult: 1, entity_type: 'sensor', device_class: 'voltage', role: 'value', name: 'pv2 bus vol', subrole: 'number' }, mpptBatVol: { min: 0, max: 60, unit_of_measurement: 'V', mult: 1, entity_type: 'sensor', device_class: 'voltage', role: 'value', name: 'mppt bat vol', subrole: 'number' }, mpptBatAmp: { min: 0, max: 20, unit_of_measurement: 'A', mult: 1, entity_type: 'sensor', device_class: 'current', role: 'value', name: 'mppt bat amp', subrole: 'number' }, adsNtcTemp: { min: 0, max: 100, unit_of_measurement: '°C', mult: 1, entity_type: 'sensor', device_class: 'temperature', role: 'value', name: 'ads ntc temp', subrole: 'number' }, plugInInfoPfcOutVol: { min: 0, max: 60, unit_of_measurement: 'V', mult: 1, entity_type: 'sensor', device_class: 'voltage', role: 'value', name: 'plug in info pfc out vol', subrole: 'number' }, powGetL1: { min: 0, max: 4000, unit_of_measurement: 'W', mult: 1, entity_type: 'sensor', device_class: 'power', role: 'value', name: 'pow get l1', subrole: 'number' }, powGetL2: { min: 0, max: 4000, unit_of_measurement: 'W', mult: 1, entity_type: 'sensor', device_class: 'power', role: 'value', name: 'pow get l2', subrole: 'number' }, invBusVol: { min: 0, max: 60, unit_of_measurement: 'V', mult: 1, entity_type: 'sensor', device_class: 'voltage', role: 'value', name: 'inv bus vol', subrole: 'number' }, invNtcTemp2: { min: 0, max: 100, unit_of_measurement: '°C', mult: 1, entity_type: 'sensor', device_class: 'temperature', role: 'value', name: 'inv ntc temp2', subrole: 'number' }, invNtcTemp3: { min: 0, max: 100, unit_of_measurement: '°C', mult: 1, entity_type: 'sensor', device_class: 'tempe