-
-
Notifications
You must be signed in to change notification settings - Fork 37k
Description
The problem
When using a personal Netatmo developer account (Application Credentials), Legrand NLFN dimmer switches lose their brightness capability and register as supported_color_modes: ["onoff"] instead of ["brightness"]. This works correctly under HA Cloud credentials.
Devices affected: Legrand Arteor with Netatmo (Australian variant) — "Light switch/dimmer with neutral by Legrand"
What happens after switching from HA Cloud to developer account credentials:
- All NLFN dimmer entities register with
supported_color_modes: ["onoff"]andsupported_features: 0 -
- Brightness control via HA is completely lost — lights turn on at physical default level only
-
-
- Adaptive Lighting cannot control brightness on these entities
Entity history confirms brightness support existed before migration:
- Adaptive Lighting cannot control brightness on these entities
-
- Before migration (HA Cloud):
"supported_color_modes": ["brightness"]✅ -
- After migration (developer account):
"supported_color_modes": ["onoff"]❌
Proof the API returns correct data — Netatmo /homesdata correctly identifies all affected devices as type NLFN:
- After migration (developer account):
- Walk In Robe Light:
type: "NLFN"✅ -
- Foyer Lights:
type: "NLFN"✅
- Foyer Lights:
-
-
- Pantry Light:
type: "NLFN"✅
- Pantry Light:
-
-
-
-
- Mirror Light:
type: "NLFN"✅
- Mirror Light:
-
-
-
-
-
-
- Laundry Light:
type: "NLFN"✅
- Laundry Light:
-
-
-
-
-
-
-
-
- Passage Light:
type: "NLFN"✅
Non-dimmable outdoor devices correctly return NLL type and correctly register as onoff-only (switches) — this part works as expected.
- Passage Light:
-
-
-
-
The Netatmo API data is correct. The issue is in how the HA Netatmo integration translates NLFN device type into entity capabilities specifically when using developer account credentials.
Reverting to HA Cloud credentials immediately restores supported_color_modes: ["brightness"] on all NLFN devices, confirming this is a credential-mode-specific bug.
Hypothesis: The HA Cloud OAuth app (registered by Nabu Casa) may have elevated API scopes or returns a different API response format that includes brightness capability data. Under a standard developer account, the /homesdata or /homestatus response may not include the brightness field that pyatmo uses to determine is_dimmable, causing the integration to fall back to onoff-only registration.
Related issues:
- Dimmer switch not supported for Netatmo and slow state display #99907 — Same Australian HPM Legrand Excel Life Smart Dimmer treated as on/off only (closed by Fix Netatmo light switching states by assuming state until next update #106162, but issue persists for NLFN under developer credentials)
-
- Netatmo Dimmer values #115634 — Legrand dimmer brightness scaling issue
What version of Home Assistant Core has the issue?
core-2026.2.3
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Netatmo
Link to integration documentation on our website
https://www.home-assistant.io/integrations/netatmo/
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
No errors in HA logs related to this issue — the integration loads successfully under both credential modes. The problem manifests as silently wrong entity capabilities (onoff instead of brightness), not as logged errors.
Key evidence is in entity state history:
- Under HA Cloud credentials: `supported_color_modes: ["brightness"]`, `supported_features: 40`
- Under developer account credentials: `supported_color_modes: ["onoff"]`, `supported_features: 0`
The /homesdata API response is identical in both cases — devices correctly identified as type NLFN.Additional information
Steps to reproduce:
- Have Legrand NLFN dimmer switches connected via Netatmo (Legrand Home+Control / Netatmo Energy)
-
- Set up Netatmo integration using HA Cloud credentials (via Nabu Casa) — dimmers correctly register with
supported_color_modes: ["brightness"]
- Set up Netatmo integration using HA Cloud credentials (via Nabu Casa) — dimmers correctly register with
-
- Remove the Netatmo integration
-
- Create a developer app at dev.netatmo.com and obtain Client ID + Client Secret
-
- Add Application Credentials in HA (Settings → System → Application Credentials) using the developer credentials
-
- Re-add Netatmo integration — it now uses the developer OAuth app
-
- Check any NLFN dimmer entity —
supported_color_modeswill now show["onoff"]instead of["brightness"]
Expected behavior: NLFN dimmers register withsupported_color_modes: ["brightness"]regardless of whether HA Cloud or developer credentials are used — the device type is NLFN in both cases.
- Check any NLFN dimmer entity —
Actual behavior: Under developer credentials, NLFN dimmers register as onoff-only, losing all brightness control.
Reverting: Remove developer credentials, delete Netatmo integration, re-add via HA Cloud OAuth — brightness support immediately restored.