[nikohomecontrol] Do not set thing status before end of initialization (#12819)

* Do not set thing status before end of initialization
* Change ThingStatusDetail when no communication object
* Change bridge config error messages
* Bridge status changed handling
* Check bridge status in handler init

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
This commit is contained in:
Mark Herwege
2022-06-04 23:39:46 +02:00
committed by GitHub
parent 62bb809f76
commit bdf59524b8
7 changed files with 233 additions and 138 deletions

View File

@@ -116,5 +116,6 @@ offline.configuration-error.energyMeterRemoved = Energy meter has been removed f
offline.configuration-error.thermostatId = Configured thermostat ID does not match an thermostat in controller
offline.configuration-error.thermostatRemoved = Thermostat has been removed from controller
offline.configuration-error.invalid-bridge-handler = Invalid bridge handler
offline.communication-error = Error communicating with controller
offline.bridge-unitialized = Bridge not initialized

View File

@@ -116,4 +116,3 @@ offline.configuration-error.thermostatId = L'ID configuré ne correspond pas à
offline.configuration-error.thermostatRemoved = Le thermostat a été retiré de l'unité de contrôle
offline.communication-error = Erreur de communication avec l'unité de contrôle
offline.bridge-unitialized = Pont de connexion non initialisé

View File

@@ -116,4 +116,4 @@ offline.configuration-error.thermostatId = Geconfigureerde thermostaat-ID komt n
offline.configuration-error.thermostatRemoved = Thermostaat is verwijderd van de controller
offline.communication-error = Fout tijdens het communiceren met de controller
offline.bridge-unitialized = Bridge niet geïnitialiseerd

View File

@@ -161,8 +161,8 @@
<bridge-type-ref id="bridge"/>
<bridge-type-ref id="bridge2"/>
</supported-bridge-type-refs>
<label>@textThermostatLabel</label>
<description>@textThermostatDescription</description>
<label>@text/ThermostatLabel</label>
<description>@text/ThermostatDescription</description>
<channels>
<channel id="measured" typeId="measured"/>
<channel id="mode" typeId="mode"/>