CamDavidsonPilon / pioreactor-relay-plugin

Relay plugin for the Pioreactor.
MIT License
0 stars 1 forks source link

rename set_relay_on to set_is_relay_on #4

Closed odcambc closed 1 year ago

odcambc commented 1 year ago

I found that the UI switch was not switching the relay on or off, even though I see is_relay_on gets changed in the logs upon clicking. I think set_relay_on isn't getting called and actually changing the duty cycle, since it would be looking for set_is_relay_on instead.

CamDavidsonPilon commented 1 year ago

👍 yup that's a silly mistake. I'll merge and rip a new release to pypi

CamDavidsonPilon commented 1 year ago

New version is available: https://pypi.org/project/pioreactor-relay-plugin/0.4.1/

I think you'll have to uninstall and install the plugin again to get the latest version.