Closed bogdal closed 1 year ago
Hey, Adam It looks great and reasonable :) I asked in the telegram chat to test your changes. When tests are passed I'll merge PR into the master. Thank you!
Awesome, thanks for the heads up.
пишет ошибку, что не так делаю?
@arsenal3008 Думаю, с подключением ветки что-то не так.
сделай так:
external_components:
- source:
type: git
url: https://github.com/bogdal/esphome_aux_ac_component
ref: optimistic-mode
Я видимо что-то спутал и esphome не может подключать PR, только бранчи.
@arsenal3008 Думаю, с подключением ветки что-то не так.
сделай так:
external_components: - source: type: git url: https://github.com/bogdal/esphome_aux_ac_component ref: optimistic-mode
Я видимо что-то спутал и esphome не может подключать PR, только бранчи.
ок, завелось
@bogdal Thank you for your PR
This PR makes
optimistic mode
configurable.Currently the entity states are updated immediately after receiving a command from Home Assistant/ESPHome. It works in optimistic mode, and there is no guarantee that AC actually is in the expected state. To have more control we should be able to disable this mode and allow only AC to update those states by itself.
PR is backward compatible, by default the logic is the same as now.
Example minimal config to disable optimistic mode: