feat: complete migration to config flow and bugfixes (@38decibel)
* feat: migrate to config flow with device registry and brand icons - Migrate all platforms to async_setup_entry (config flow) - Each device now appears as a real HA device in the device registry - Add device_info to all entities (cover, switch, button, sensor, binary_sensor) - Add config_flow.py with airsend.yaml + !secret resolution - Add strings.json for UI labels - Fix unique_id bug (was splitting each character of the name) - Split binary_sensor.py from sensor.py - Bump version to 4.0 * Add icon for local brand * Revise installation steps for AirSend integration * Correction du crash websocket raise Exception remplacé par return False * Update README with AirSend configuration steps Added instructions for configuring AirSend in Home Assistant. * Update README with clearer instructions for YAML Clarified instructions for editing the airsend.yaml file. * Add files via upload * Add English translation for AirSend configuration * Add fr translations * Update screenshot following latest version * Fixe unavailable and new type light Corrections de bugs 500 avec wait: true non fatal Nouveau type light.py — lumière dimmable (type 4100)
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"config": {
|
||||
"step": {
|
||||
"user": {
|
||||
"title": "Configurer AirSend",
|
||||
"description": "Le fichier `airsend.yaml` doit être présent dans `/config`.\nL'URL interne est auto-détectée si l'addon AirSend est installé.",
|
||||
"data": {
|
||||
"internal_url": "URL interne (ex: http://172.30.33.4:33863/)"
|
||||
}
|
||||
},
|
||||
"reconfigure": {
|
||||
"title": "Reconfigurer AirSend",
|
||||
"description": "Rechargez la configuration depuis `airsend.yaml` et mettez à jour l'URL si nécessaire.",
|
||||
"data": {
|
||||
"internal_url": "URL interne"
|
||||
}
|
||||
}
|
||||
},
|
||||
"error": {
|
||||
"no_devices": "Aucun appareil trouvé dans airsend.yaml. Vérifiez la section `devices:`.",
|
||||
"yaml_not_found": "Fichier airsend.yaml introuvable dans /config. Créez-le d'abord.",
|
||||
"cannot_connect": "Impossible de joindre l'addon AirSend. Vérifiez que l'addon est démarré et que l'URL est correcte.",
|
||||
"timeout": "L'addon AirSend ne répond pas (timeout). Vérifiez que l'addon est démarré.",
|
||||
"no_url": "Veuillez saisir l'URL interne de l'addon AirSend."
|
||||
},
|
||||
"abort": {
|
||||
"already_configured": "AirSend est déjà configuré.",
|
||||
"reconfigure_successful": "Reconfiguration réussie."
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user