kpsuperplane / homebridge-wiz-lan

Control Wiz lights over LAN
Apache License 2.0
114 stars 37 forks source link

Problems setting lights when making convert-to-shortcut automations. #113

Closed MoTechnicalities closed 1 year ago

MoTechnicalities commented 1 year ago

@kpsuperplane Hey Kevin, I'd like to hope your still working to improve the plugin.

If a WiZ light is ON and I am in the process of making a convert-to-shortcut to toggle it ON/OFF, then when I take the step to set the light to OFF. It won't accept the configuration.

Steps to repeat:

  1. Turn the target WiZ light ON.
  2. Try to Make a convert-to-shortcut automation that functions as a toggle for that WiZ light using either a button press or when sensor detects motion automation. Example:

    Trigger: Button double press Action: If light is OFF Set Light ON Stop Automation End If Set Light OFF

    If you try to make this automation. It won't let you creat the last step. You have to save your work go out and turn the light OFF, then come back and finish creating the last step.

I figure it's something wrong with the plugin because this doesn't happen with other lights or switches.

There are no Homebridge logs generated when attempting to make automations, but all my WiZ light act up in these steps, where other light and switches don't do this.

MoTechnicalities commented 1 year ago

This issue is likely related to #114