GZCGQ01LM - request for change expose values
Is your feature request related to a problem? Please describe
device doesn't show up in dashboard, because of wrong configuration of exposed values: e.illuminance() and e.illuminance_lux()
Describe the solution you'd like
please change exposed values of device to:
{
exposes: [e.battery(), e.battery_voltage(), e.illuminance(), e.power_outage_count()]
}
Describe alternatives you've considered
no alternatives considered
Additional context
Can you provide a screenshot of the z2m frontend -> device -> state tab?
Screenshot of state tab:
{
"battery": 100,
"illuminance": 0,
"illuminance_lux": 0,
"last_seen": "2023-10-25T03:22:46.289Z",
"linkquality": 163,
"power_outage_count": 12,
"voltage": 3068
}
device doesn't show up in dashboard,
I'm a bit confused, in the screenshot from the OP it shows the device in the dashboard.
Oh sorry. I did patch the node module "zigbee-herdsman-converters" with the exposes from the my first post. The master code or code from version 1.33.1 doesn't show the device in dashboard. But I did not manage to get illuminance_lux shown in dashboard. It just shows illuminance, but not the lux value. The device state itself has both values.
Both illuminance and illumiance_lux should be exposed, that it shows in the dashboard once illumiance_lux is removed is a bug in the frontend. So please create an issue here: https://github.com/nurikk/zigbee2mqtt-frontend/issues
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days