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

v3 - toggles work once then require web refresh #99

Open
jr-air opened this issue May 18, 2024 · 1 comment
Open

v3 - toggles work once then require web refresh #99

jr-air opened this issue May 18, 2024 · 1 comment

Comments

@jr-air
Copy link

jr-air commented May 18, 2024

The v3 web version looks great, but toggling a setting only works once. Refreshing the web page lets the toggle work once again.

Not sure if I need to explicitly include a "sensor" for switch state in the yaml but the toggles and this yaml snippet works as expected in v2 web.

Enable Web server.

web_server:
port: 80
version: 3

Sensors with general information.

sensor:

Uptime sensor.

  • platform: uptime
    name: Uptime

WiFi Signal sensor.

  • platform: wifi_signal
    name: WiFi Signal
    update_interval: 60s

Replay Switch #GPIO16

switch:

  • platform: gpio
    pin: 16
    name: "Relay Toggle"

Debug output (press toggle button twice):
16:15:08 [D] [switch:012] 'Relay Toggle' Turning ON.
16:15:08 [D] [switch:055] 'Relay Toggle': Sending state ON
16:15:10 [D] [switch:012] 'Relay Toggle' Turning ON.

@RFDarter
Copy link
Contributor

RFDarter commented Jun 6, 2024

Hi, is it still broken for you?
On my end toggeling a switch works fine

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

2 participants