Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default ch, dhw and otc enabled switches to enabled #20

Open
aelking opened this issue Apr 5, 2024 · 2 comments
Open

Default ch, dhw and otc enabled switches to enabled #20

aelking opened this issue Apr 5, 2024 · 2 comments

Comments

@aelking
Copy link

aelking commented Apr 5, 2024

I have tried to use

restore_mode: ALWAYS_ON
on
ch_enabled
dhwenabled
otc_active

but it doesn't seem to do anything.

switch:
  - platform: opentherm
    ch_enabled:
      name: "CH enabled"
      restore_mode: ALWAYS_ON
    dhw_enabled:
      name: "DHW enabled"
      restore_mode: ALWAYS_ON
    otc_active:
      name: "OTC active"
      restore_mode: ALWAYS_ON

Is this something that I am doing wrong, or is it something that needs to be implented?

@khenderick
Copy link
Owner

The restore_mode should be handled by ESPHome itself, it's as far as I know nothing that should be implemented in the component. What's the behavior you're seeing? They just never turn on after boot, or they briefly turn on and then immediately turn off again by themselves?

@ananyevgv
Copy link

esphome:
on_boot:
then:
- delay: 2s
- switch.turn_on: ch_2_enabled
- switch.turn_on: dhw_enabled
- switch.turn_on: ch_enabled
- switch.turn_on: otc_active
- number.set:
id: dhw_num
value: 54

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants