dear friends, after much experimentation I was able to get the thermostat and sensor combination to work. now the thermostat uses the temperature information from the sensor and it works and works stably.
what does that require:
1.my thermostat driver
2.my driver for the sensor
3. an innovelli program for creating associations. my drivers are adapted to work with this program.
4.include in the thermostat driver receiving the temperature from the sensor
5.Create an association in the innovelli program between the sensor and the thermostat
6. The most important thing, without which this pair does not work, is to create a rule in the rule machine. trigger - temperature change from the sensor, condition - the thermostat is not turned off. action - poll.
and everything works like a clock.
the problem of the thermostat is that it does not come out of standby mode when the sensor sends data about a new temperature, this must be done by the hub. therefore this is the rule. how to check my words? very simple, using the Power level class.