AlexandrErohin

Results 282 comments of AlexandrErohin

Hi. Unfortunately, all request are encrypted and I cannot parse them without having this router Would be great if you could add support for your router by creating PR with...

Hi! Could you try the HA integration latest version please?

@zjleblanc1 Is there any errors?

@preintel You may use this code: ``` from tplinkrouterc6u import TplinkRouter, Connection from logging import Logger router = TplinkRouter('192.168.0.1', 'password', logger=Logger('test')) router.authorize() status = router.get_status() for device in status.devices: if...

Hi. It is breaking compatibility. It is better to add 2 methods get_led and set_led to TplinkC1200Router

@swwgames Hi One more question Is it would be enough? ``` def get_led(self) -> bool: ``` What do you think?

Yes, I think it would be better to create a new file test_client_c1200.py and ceate a new class class TestTPLinkC1200Client(unittest.TestCase):

You dont need to declare ``` class TestTPLinkClient(unittest.TestCase): ``` And it would be great if you write tests - def test_set_led_on(self) - def test_set_led_off(self) - def test_get_led(self) in this MR...

from test_set_led_on and test_set_led_off delete please response_led_general_read and this block ``` if path == 'admin/ledgeneral?form=setting&operation=read': return json.loads(response_led_general_read) ``