Fix mysensors white value (#3508)
* Fix turning on mysensors light with white value attribute in kwargs. * Fix import order in check_config.py.
This commit is contained in:
1 parent
36921748ed
commit
986873834a
2 files changed
+18
-14
No files matched your search
@@ -2,12 +2,13 @@
|
||||
import argparse
|
||||
import logging
|
||||
import os
|
||||
from collections import OrderedDict
|
||||
from glob import glob
|
||||
from platform import system
|
||||
from unittest.mock import patch
|
||||
|
||||
from typing import Dict, List, Sequence
|
||||
from collections import OrderedDict
|
||||
|
||||
import homeassistant.bootstrap as bootstrap
|
||||
import homeassistant.config as config_util
|
||||
import homeassistant.loader as loader
|
||||
@@ -270,6 +271,6 @@ def dump_dict(layer, indent_count=3, listi=False, **kwargs):
|
||||
if isinstance(layer, Sequence):
|
||||
for i in layer:
|
||||
if isinstance(i, dict):
|
||||
dump_dict(i, indent_count+2, True)
|
||||
dump_dict(i, indent_count + 2, True)
|
||||
else:
|
||||
print(' ', indent_str, i)
|
||||
Reference in new issue
Block a user