Closed coeing closed 4 years ago
The target branch should be "bosch-shc-2.5" to see the expected amount of commits.
@GerdZanker You're right, thanks for the hint :)
In this feature branch I added two services for the thermostat device:
Both are created, initialized and registered inside the ThermostatHandler::initialize method. This creates the connection between the service state and the channels of the handler.
Through this registration there is several state handling which can be done automatically:
The handling of state updates from the bridge happens like this:
For an example check out the feature branch and have a look at the ThermostatHandler.
This should be a good foundation for the service architecture (Issue #8 )
This feature should make Bosch Thermostat devices available in openHAB.
Just a first draft to discuss some things and to link it to the issues it belongs to :)