diff --git a/custom_components/mega/hub.py b/custom_components/mega/hub.py index ca6f81e..bfeb3c4 100644 --- a/custom_components/mega/hub.py +++ b/custom_components/mega/hub.py @@ -673,7 +673,7 @@ class MegaD: cmd = dict( pt=config[0][0], chip=chip, - ws=''.join([hex(x).split('x')[1].ljust(2, '0').upper() for x in _next_val]) + ws=''.join([hex(x).split('x')[1].rjust(2, '0').upper() for x in _next_val]) ) await self.request(**cmd)