[Wrong device]: AVATTO TS60-EU-W2 wrong detection
Link
https://avatto-smart.com/shop/avatto-smart-switch-blade-ambient-light-voice-control/
Model
TS60-EU-W2
Description
2 gang switch
Vendor
Avatto
Picture (link)
https://avatto-smart.com/shop/avatto-smart-switch-blade-ambient-light-voice-control/
Database entry
{ "description": "2-Gang switch with backlight, countdown and inching", "exposes": [ { "endpoint": "l1", "features": [ { "access": 7, "description": "On/off state of the switch", "endpoint": "l1", "label": "State", "name": "state", "property": "state_l1", "type": "binary", "value_off": "OFF", "value_on": "ON", "value_toggle": "TOGGLE" } ], "type": "switch" }, { "endpoint": "l2", "features": [ { "access": 7, "description": "On/off state of the switch", "endpoint": "l2", "label": "State", "name": "state", "property": "state_l2", "type": "binary", "value_off": "OFF", "value_on": "ON", "value_toggle": "TOGGLE" } ], "type": "switch" }, { "access": 7, "description": "Countdown to turn device off after a certain time", "endpoint": "l1", "label": "Countdown", "name": "countdown", "property": "countdown_l1", "type": "numeric", "unit": "s", "value_max": 43200, "value_min": 0, "value_step": 1 }, { "access": 7, "description": "Countdown to turn device off after a certain time", "endpoint": "l2", "label": "Countdown", "name": "countdown", "property": "countdown_l2", "type": "numeric", "unit": "s", "value_max": 43200, "value_min": 0, "value_step": 1 }, { "access": 7, "category": "config", "description": "Controls the behavior when the device is powered on after power loss", "endpoint": "l1", "label": "Power-on behavior", "name": "power_on_behavior", "property": "power_on_behavior_l1", "type": "enum", "values": [ "off", "previous", "on" ] }, { "access": 7, "category": "config", "description": "Controls the behavior when the device is powered on after power loss", "endpoint": "l2", "label": "Power-on behavior", "name": "power_on_behavior", "property": "power_on_behavior_l2", "type": "enum", "values": [ "off", "previous", "on" ] }, { "access": 7, "category": "config", "description": "Type of the switch", "label": "Switch type", "name": "switch_type", "property": "switch_type", "type": "enum", "values": [ "toggle", "state", "momentary" ] }, { "access": 7, "category": "config", "description": "Mode of the backlight", "label": "Backlight mode", "name": "backlight_mode", "property": "backlight_mode", "type": "binary", "value_off": "OFF", "value_on": "ON" }, { "access": 7, "category": "config", "description": "LED indicator mode", "label": "Indicator mode", "name": "indicator_mode", "property": "indicator_mode", "type": "enum", "values": [ "off", "off/on", "on/off", "on" ] }, { "access": 2, "description": "Device Inching function Settings. The device will automatically turn off after each turn on for a specified period of time.", "features": [ { "access": 2, "description": "Enable/disable inching function for endpoint 1.", "label": "Inching for Endpoint 1", "name": "inching_control", "property": "inching_control_1", "type": "binary", "value_off": "DISABLE", "value_on": "ENABLE" }, { "access": 2, "description": "Delay time for executing a inching action for endpoint 1.", "label": "Inching time for endpoint 1", "name": "inching_time", "property": "inching_time_1", "type": "numeric", "unit": "seconds", "value_max": 65535, "value_min": 1, "value_step": 1 }, { "access": 2, "description": "Enable/disable inching function for endpoint 2.", "label": "Inching for Endpoint 2", "name": "inching_control", "property": "inching_control_2", "type": "binary", "value_off": "DISABLE", "value_on": "ENABLE" }, { "access": 2, "description": "Delay time for executing a inching action for endpoint 2.", "label": "Inching time for endpoint 2", "name": "inching_time", "property": "inching_time_2", "type": "numeric", "unit": "seconds", "value_max": 65535, "value_min": 1, "value_step": 1 } ], "label": "Inching control set", "name": "inching_control_set", "property": "inching_control_set", "type": "composite" }, { "access": 1, "category": "diagnostic", "description": "Link quality (signal strength)", "label": "Linkquality", "name": "linkquality", "property": "linkquality", "type": "numeric", "unit": "lqi", "value_max": 255, "value_min": 0 } ], "model": "TS0002", "options": [ { "access": 2, "description": "State actions will also be published as 'action' when true (default false).", "label": "State action", "name": "state_action", "property": "state_action", "type": "binary", "value_off": false, "value_on": true } ], "source": "native", "supports_ota": false, "vendor": "Tuya", "version": "0.0.0" }
Notes
Hello I buy zigbee buy model name TS60-EU-W2 but zigbee2mqtt detect as tuya with generic name, can you fix and detect this device correctly with corettly device name, model and more? And have bad picture in zigbee2mqtt
Bad:
Bad picture:
import * as m from 'zigbee-herdsman-converters/lib/modernExtend';
export default { zigbeeModel: ['TS0002'], model: 'TS0002', vendor: '_TZ3000_ebrtr8sx', description: 'Automatically generated definition', extend: [m.deviceEndpoints({"endpoints":{"1":1,"2":2}}), m.onOff({"powerOnBehavior":false,"endpointNames":["1","2"]})], };
Need more information?
It's enough, I'll add it for next Z2M version
It's enough, I'll add it for next Z2M version
@andrei-lazarov hello I today update zigbee2mqtt and issue is same not good detect device
It's enough, I'll add it for next Z2M version
Hello please can add support?
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days