Skip to content

getSmartPlugState return wrong #27

@keirstitt84

Description

@keirstitt84

On line 1010 of wiserHub.py currently is 'return plug.get("ScheduledState")'

This line should be returning the output state, I suspec this is a coding error when the function body was copied and pasted from elsewhere.

As a result it always reads "None" as the output state. I corrected this line in my code to:
return plug.get("OutputState")

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