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

Can't control valve in web_server #6337

Open
tetele opened this issue Oct 16, 2024 · 2 comments · May be fixed by esphome/esphome-webserver#128
Open

Can't control valve in web_server #6337

tetele opened this issue Oct 16, 2024 · 2 comments · May be fixed by esphome/esphome-webserver#128

Comments

@tetele
Copy link

tetele commented Oct 16, 2024

The problem

If you have both web_server: and a valve in your config, accessing the web page at http://<device_name>.local only exposes the valve state and no way to control it - open, close, set position

Screenshot_20241016_212111_Chrome

Which version of ESPHome has the issue?

2024.10.2

What type of installation are you using?

Docker

Which version of Home Assistant has the issue?

No response

What platform are you using?

ESP32

Board

No response

Component causing the issue

No response

Example YAML snippet

web_server:
  include_internal: true
  version: 3

output:
  - platform: slow_pwm
    id: output_valve
    period: 3s
    pin:
      number: GPIO16
      inverted: true

valve:
  - platform: template
    name: "Test ESPHome valve"
    has_position: true
    optimistic: true
    open_action:
      - output.set_level:
          id: output_valve
          level: 100%
    close_action:
      - output.set_level:
          id: output_valve
          level: 0%
    position_action:
      - output.set_level:
          id: output_valve
          level: !lambda 'return pos;'

Anything in the logs that might be useful for us?

No response

Additional information

No response

@tetele tetele linked a pull request Oct 17, 2024 that will close this issue
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label Feb 14, 2025
@tetele
Copy link
Author

tetele commented Feb 14, 2025

Not stale

@github-actions github-actions bot removed the stale label Feb 15, 2025
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

Successfully merging a pull request may close this issue.

1 participant