Traceback (most recent call last):


 "/usr/local/lib/python3.6/site-packages/homeassistant/components/fan/xiaomi_miio.py", line 551, in _try_command

partial(func, *args, **kwargs))


 "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run

result = self.fn(*self.args, **self.kwargs)


 "/usr/local/lib/python3.6/site-packages/miio/airhumidifier.py", line 329, in set_mode

return self.send("set_mode", [mode.value])


 "/usr/local/lib/python3.6/site-packages/miio/device.py", line 272, in send

raise DeviceError(m.data.value["error"])
miio.exceptions.DeviceError: {'code': -6011, 'message': 'device_poweroff'}

Traceback (most recent call last):


 "/usr/libexec/webmin/webmin/acme_tiny.py", line 235, in <module>

main(sys.argv[1:])


 "/usr/libexec/webmin/webmin/acme_tiny.py", line 231, in main

signed_crt = get_crt(args.account_key, args.csr, args.acme_dir, args.dns_hook, args.cleanup_hook, log=LOGGER, CA=args.ca)


 "/usr/libexec/webmin/webmin/acme_tiny.py", line 106, in get_crt

raise ValueError("Error registering: {0} {1}".format(code, result))
ValueError: Error registering: 400 {
