Skip to content

Turn Off URL Not Working #2

@lukebrannon1

Description

@lukebrannon1

Hi @Colorado4Wheeler,

I was experiencing an issue with the turn off URL not working with the URL extension. When I turned the device on or off, the plugin was always sending the turn on URL.

I fixed this by changing "onCommand" to "offCommand" on line 773 of plugin.py (linked below).

This fix worked for me, but could you confirm this is the proper fix?

if self.urlDeviceAction (dev, dev.pluginProps["onCommand"]) == False:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions