Salut à tous !
Je vous présente la page « Appareils » qui permet de visualiser super facilement tous les appareils connectés à Gladys, sans avoir à rentrer dans les intégrations une par une
Il est possible de filtrer par pièce, intégration, ou juste faire une recherche textuelle.
Ensuite, on peut cliquer sur le bouton pour ouvrir dans l’intégration :
Fonctionne aussi très bien sur mobile :
master ← claude/gladys-devices-page-lbt846
ouvert 07:44AM - 14 Aug 26 UTC
### Description
Adds a new **Devices** page (`/dashboard/devices`), reachable f… rom the main navigation bar, that lists every device of the instance via `GET /api/v1/device`.
The page offers:
- **Search** (server-side `search` param, debounced) and A–Z / Z–A ordering (`order_dir`), reusing the shared `CardFilter` component
- **Filter by room** (including a "No room" option) and **filter by integration**, the integration options being built from the devices actually present on the instance
- A device table showing name, selector, room, origin integration and feature count
- A **link to each device in its origin integration**: straight to the device edit page when the integration has one (MQTT, Zigbee2mqtt, Tasmota, Tuya, eWeLink, Xiaomi, MELCloud, Broadlink, Bluetooth), to the integration's device list otherwise, and to the external integration page for devices coming from external (Docker) integrations
Implementation notes:
- New route registered in `app.jsx`, new "Devices" entry in the header (the `header.devices` i18n key already existed in all three languages)
- New `devicesList` i18n section added to `en`, `fr` and `de` (`compare-translations` passes)
- The service → integration-page mapping reuses `config/integrations` (`(link || key).toLowerCase()`), which is the same slug used by the router and the server service names
- Demo mode data enriched so the page renders in demo (`get /api/v1/device` now includes `room`/`service`)
Screenshot:
The page rendered in demo mode shows the device table with room/integration filters, search, ordering, and "Open in integration" buttons per device.
### Checklist
- [x] Tests pass: front-end only change, no server code touched (`server && npm run coverage` not impacted); Cypress binary could not be downloaded in this environment, but `npm run build` passes and the page was manually verified in demo mode (list, search, room/integration filters, links)
- [x] Linter and prettier pass on both front and server (`npm run eslint`: 0 errors, `npm run prettier-check` and `npm run compare-translations` pass)
- [x] No undocumented breaking change
---
_Generated by [Claude Code](https://claude.ai/code/session_01FzSqqrb3WRsC1uhoHeZ2SD)_
## Summary by CodeRabbit
* **New Features**
* Added a Devices page accessible from the dashboard navigation.
* View device names, rooms, integrations, supported features, and feature counts.
* Search, sort, and filter devices by room or integration.
* Open devices in their associated integrations when available.
* Added English, German, and French translations.
* Added loading, error, and empty-state messaging with responsive layouts.
Sera disponible dans la prochaine version de Gladys !
moi aussi, c’est super utile
A par lister et ajouter un lien a l’appareil vers l’intégration, y aura t’il un intérêt ?
Attention je ne dénigre pas, je trouve ça même cool je veux juste savoir ce qu’il est possible de faire sur cette page quoi ^^
Bientôt pour chaque appareil, on va avoir tous ses cas d’usage dans les scènes et dashboard
Je ferme ce post car la fonctionnalité est disponible dans Gladys Assistant 4.86 :
Salut à tous !
Super heureux de sortir Gladys Assistant 4.86.
C’est simple, c’est la plus grosse version depuis le début du projet, avec 68 PR fusionnées en une semaine
C’est juste incroyable, et ça montre le nouveau rythme qu’on peut tenir avec l’IA.
L’objectif est maintenant clair : rattraper et dépasser Home Assistant
Je vous parle de ces 68 nouveautés ici :
Merci à tous les contributeurs !!