Open jr-air opened 4 months ago
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.
web_server: port: 80 version: 3
sensor:
platform: uptime name: Uptime
switch:
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.
Hi, is it still broken for you? On my end toggeling a switch works fine
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.
Replay Switch #GPIO16
switch:
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.