### Link
https://www.leroymerlin.fr/produits/chauffage-et-ventilation/radiate…ur/radiateur-electrique/kit-de-demarrage-economie-energie/recepteur-connecte-chauffage-fil-pilote-87766424.html
### Database entry
```json
{
"id":2,
"type":"Router",
"ieeeAddr":"0x187a3efffeb1f880",
"nwkAddr":1984,
"manufId":4727,
"manufName":"Adeo",
"powerSource":"Mains (single phase)",
"modelId":"SIN-4-FP-21_EQU",
"epList":[
1,
242
],
"endpoints":{
"1":{
"profId":260,
"epId":1,
"devId":81,
"inClusterList":[
0,
3,
4,
5,
6,
1794,
4096,
64512
],
"outClusterList":[
25
],
"clusters":{
"genBasic":{
"attributes":{
"modelId":"SIN-4-FP-21_EQU",
"manufacturerName":"Adeo",
"powerSource":1,
"zclVersion":8,
"appVersion":3,
"stackVersion":103,
"hwVersion":20,
"dateCode":"2021"
}
},
"haElectricalMeasurement":{
"attributes":{
}
},
"genOnOff":{
"attributes":{
"onOff":0
}
},
"piAnalogInputReg":{
"attributes":{
}
}
},
"binds":[
{
"cluster":6,
"type":"endpoint",
"deviceIeeeAddress":"0x00212effff048357",
"endpointID":1
},
{
"cluster":2820,
"type":"endpoint",
"deviceIeeeAddress":"0x00212effff048357",
"endpointID":1
},
{
"cluster":64576,
"type":"endpoint",
"deviceIeeeAddress":"0x00212effff048357",
"endpointID":1
}
],
"configuredReportings":[
{
"cluster":6,
"attrId":0,
"minRepIntval":0,
"maxRepIntval":3600,
"repChange":0
}
],
"meta":{
}
},
"242":{
"profId":41440,
"epId":242,
"devId":102,
"inClusterList":[
33
],
"outClusterList":[
33
],
"clusters":{
},
"binds":[
],
"configuredReportings":[
],
"meta":{
}
}
},
"appVersion":3,
"stackVersion":103,
"hwVersion":20,
"dateCode":"2021",
"zclVersion":8,
"interviewCompleted":true,
"meta":{
},
"lastSeen":1696430383834,
"defaultSendRequestWhen":"immediate"
}
```
### Comments
It will probably looks like Legrand 064882
### External converter
```js
const fz = require('zigbee-herdsman-converters/converters/fromZigbee');
const tz = require('zigbee-herdsman-converters/converters/toZigbee');
const exposes = require('zigbee-herdsman-converters/lib/exposes');
const reporting = require('zigbee-herdsman-converters/lib/reporting');
const extend = require('zigbee-herdsman-converters/lib/extend');
const e = exposes.presets;
const ea = exposes.access;
const definition = {
zigbeeModel: ['SIN-4-FP-21_EQU'], // The model ID from: Device with modelID 'lumi.sens' is not supported.
model: 'SIN-4-FP-21_EQU', // Vendor model number, look on the device for a model number
vendor: 'Adeo', // Vendor of the device (only used for documentation and startup logging)
description: 'Cable outlet with pilot wire and consumption measurement', // Description of the device, copy from vendor site. (only used for documentation and startup logging)
fromZigbee: [ fz.on_off, fz.metering/*fz.electrical_measurement, fz.power_on_behavior,fz.legrand_cluster_fc01, fz.legrand_cable_outlet_mode, fz.on_off, fz.electrical_measurement, fz.metering, fz.power_on_behavior*/],
toZigbee: [tz.on_off/*tz.legrand_deviceMode, tz.legrand_cableOutletMode, tz.on_off, tz.electrical_measurement_power, tz.power_on_behavior*/],
exposes: [e.switch().withState('state', true, 'Works only when the pilot wire is deactivated'),
e.power().withAccess(ea.STATE_GET),
// e.power(),
e.binary('device_mode', ea.ALL, 'pilot_on', 'pilot_off'),
e.enum('cable_outlet_mode', ea.ALL, ['comfort', 'comfort-1', 'comfort-2', 'eco', 'frost_protection', 'off']),
/*e.power_apparent(),
e.power_on_behavior().withDescription(`Controls the behavior when the device is powered on. Works only when the pilot wire is deactivated`)
e.switch().withState('state', true, 'Works only when the pilot wire is deactivated'),
e.power().withAccess(ea.STATE_GET),
e.power(), e.energy(),
e.power_apparent(),
e.power_on_behavior().withDescription(`Controls the behavior when the device is powered on. Works only when the pilot wire is deactivated`)*/],
configure: async (device, coordinatorEndpoint, logger) => {
const endpoint = device.getEndpoint(1);
await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff', 'haElectricalMeasurement', 'genAnalogInput'/*, 'seMetering'*/]);
await reporting.onOff(endpoint);
await endpoint.read('genAnalogInput', ['presentValue']);
//await reporting.activePower(endpoint);
//await reporting.currentSummDelivered(endpoint);
// await reporting.readMeteringMultiplierDivisor(endpoint);
},
};
module.exports = definition;
```
### Supported color modes
_No response_
### Color temperature range
_No response_