feat: migrate to config flow with device registry and brand icon#22
Open
38decibel wants to merge 11 commits intodevmel:masterfrom
Open
feat: migrate to config flow with device registry and brand icon#2238decibel wants to merge 11 commits intodevmel:masterfrom
38decibel wants to merge 11 commits intodevmel:masterfrom
Conversation
- 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
raise Exception remplacé par return False
Added instructions for configuring AirSend in Home Assistant.
Clarified instructions for editing the airsend.yaml file.
Corrections de bugs 500 avec wait: true non fatal Nouveau type light.py — lumière dimmable (type 4100)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Migration complète de l'intégration vers le standard moderne de Home Assistant.
Changements
Migration config flow
discovery.load_platformvers un vrai config flow avec interface UIairsend.yamlavec résolution des tags!secretAméliorations techniques
requestsparaiohttp— appels HTTP non-bloquantsunavailablesi l'addon ne répond plusDataUpdateCoordinatorcentralisé par device danscoordinator.pyunique_id(l'ancien code séparait chaque caractère du nom)binary_sensor.pyséparé desensor.pydevice_infoajouté sur toutes les entitésraise Exceptionremplacé parreturn Falsedansdevice.py(évitait un crash websocket HA)Internationalisation
translations/fr.jsonettranslations/en.jsonstrings.jsonsynchronisé avecen.jsonIcône
brand/avecicon.png(256x256)Version
manifest.jsonpassé en version4.0,config_flow: true,iot_class: local_push