Closed tya closed 5 years ago
not sure why this "init()" isn't being called by return of call of "new()"
key commands appear to be working for me
$ samsungctl --verbose --config-file ~/.samsungctl/office.tv KEY_MUTE
Sending control command: {'Cmd': 'Click', 'DataOfCmd': 'KEY_MUTE', 'Option': 'false', 'TypeOfRemote': 'SendRemoteKey'}
Websocket closed
I am going to attack this problem a little bit differently.
cool...I agree the approach you ended up using is the better.
TY for making the PR and don't stop here. if you find other issues please by all means shoot me another.
When executing Config.load(), the config class object (self) was being constructed with new () but not being initialized with init (**config) and was not being returned from the Config.load() class method. I added these two missing steps to address the error in issue #51
Hope this helps. Let me know if you need help testing out your upnp addition to samsungctl.
-Ty