Cannot access an attribute of a device in Zigbee2MQTT

Hi,

I’m trying to access the attribute “brightness” of an Ikea STYRBAR remote control that appears in the Zigbee2MQTT device state tab :

{
    "battery": 60,
    "brightness": 195,
    "linkquality": 114,
    "update": {
        "installed_version": 65572,
        "latest_version": 581,
        "state": "idle"
    }
}

In the developer tools states tab the device only reports a part of its attributes :

When i try to access the brightness attribute in a template or in an automation i get a “None” return value :

{{ state_attr('sensor.interrupteursejour_action','brightness') }}

Is there a configuration i am missing or a declaration to do somewhere ?

thanks

Has anyone found a solution to this? I’m having the same problem!

I also am having the same issue.