Skip to content

Use Smartthings Switch state #373

@MatsNl

Description

@MatsNl

Is there any reason the switch state isn't used to get the ST TV state? I find the device reports online for quite some time after switch state turns off. Why it matters, in my experience turning the TV on with smartthings works best when the device is still ONLINE but switched off, while WOL works better when the TV is fully offline.

Im referring to line 470 in smartthings.py, not using this value appears to be a design decision?

# device_state = data['main']['switch']['value']

I'm happy to work on a PR/suggestion, but wanted to check first.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions