Some "features" are not recognized by Gladys

Hello everyone,

I have two topics regarding the features associated with and used by Gladys.

  1. In the model file associated with my Xiaomi switch (service zigbee2mqtt still in development), the associated capabilities are only features.switch_sensor.
    It is impossible to control the lights via Gladys, which does not offer a button.
    By adding modifying the line to add the lights: QBKG04LM: [features.switch_sensor, features.light], this time it is functional.
    Shouldn’t Gladys offer an On/Off button by default for switch type features?

  2. My TuYa smart plug did not want to be added in Gladys. By modifying the model file, I removed several features and the plug could be integrated.
    I don’t really have an explanation because all the features are supposed to be supported by Gladys.

  • Problematic configuration: TS0121_plug: [features.switch, features.power, features.current, features.voltage],
  • Functional configuration: TS0121_plug: [features.switch],

Thanks for your feedback, or for your feedback @pierre-gilles :innocent:

For everything related to the Zigbee2mqtt service, I can’t answer you, it’s outside of Gladys current capabilities :slight_smile:

I’ll let you see with @cicoub13.

Is TuYa Bluetooth?

If so, I invite you to discuss with @AlexTrovato who developed the Bluetooth service :slight_smile:

Tuya supports Wi-Fi and Zigbee.
This is Zigbee (TS0121_plug).

I thought that the fact that the features are managed by Gladys Core pointed to a potential bug.
I will delve deeper with @cicoub13 then, another potential bug to fix before going into production…

This, on the other hand, is managed by Gladys, as far as I know, not the service.

I think we can close this topic. The issue indeed comes from the mapping between Zigbee features and those of Gladys (so from the zigbee2mqtt service).

Thanks, that’s very clear. I didn’t know if that was it or not.