The effect of this is to make the entire device config, a switch based entity. This means that one has to slide the Low Power switch to On in order for HA core to commence sending and receiving mqtt topics/states. However, setting LowPower mode on this equipment significantly degrades operation to the point where the valve can take a considerable amount of time to respond/reply. In other words, they fail to operate within acceptable norms.
One fix for you might be to use the input_select with On and Off as options?
Also note, removing the switch will render all the scripts unoperable because your configuration has hidden the control switch:
Commenting out hidden [as above] fixes the problem and allows the scripts to run. However, this is not ideal because to run scripts the control slider n the UI needs to be moved to on, and this then makes HA run all the scripts at once which itself causes an error " already running" . Mmm? Not sure what is best here? I'm looking into this but perhaps a simple initial_state: true on the control might suffice [in addition to reinstating your hidden directive. I'm out at the mo but will look into this later when I return home.
Great work Graham and hopefully this can be fixed. I am finding your efforts really helpful.
The eTRV HomeAssistant (HA) configuration contains the following switch directives:-
The effect of this is to make the entire device config, a switch based entity. This means that one has to slide the Low Power switch to On in order for HA core to commence sending and receiving mqtt topics/states. However, setting LowPower mode on this equipment significantly degrades operation to the point where the valve can take a considerable amount of time to respond/reply. In other words, they fail to operate within acceptable norms.
One fix for you might be to use the input_select with On and Off as options?
Also note, removing the switch will render all the scripts unoperable because your configuration has hidden the control switch:
Commenting out hidden [as above] fixes the problem and allows the scripts to run. However, this is not ideal because to run scripts the control slider n the UI needs to be moved to on, and this then makes HA run all the scripts at once which itself causes an error " already running" . Mmm? Not sure what is best here? I'm looking into this but perhaps a simple initial_state: true on the control might suffice [in addition to reinstating your hidden directive. I'm out at the mo but will look into this later when I return home.
Great work Graham and hopefully this can be fixed. I am finding your efforts really helpful.