mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
parent
5cc672ea59
commit
37048919bf
@ -13,7 +13,7 @@ import homeassistant.config as config_util
|
|||||||
import homeassistant.loader as loader
|
import homeassistant.loader as loader
|
||||||
import homeassistant.util.yaml as yaml
|
import homeassistant.util.yaml as yaml
|
||||||
|
|
||||||
REQUIREMENTS = ('colorlog>2.1<3',)
|
REQUIREMENTS = ('colorlog>2.1,<3',)
|
||||||
if system() == 'Windows': # Ensure colorama installed for colorlog on Windows
|
if system() == 'Windows': # Ensure colorama installed for colorlog on Windows
|
||||||
REQUIREMENTS += ('colorama<=1',)
|
REQUIREMENTS += ('colorama<=1',)
|
||||||
|
|
||||||
@ -116,7 +116,7 @@ def run(script_args: List) -> int:
|
|||||||
if 'all' in domain_info:
|
if 'all' in domain_info:
|
||||||
print(color('bold_white', 'Successful config (all)'))
|
print(color('bold_white', 'Successful config (all)'))
|
||||||
for domain, config in res['components'].items():
|
for domain, config in res['components'].items():
|
||||||
print(color(C_HEAD, domain + ':'))
|
print(' ', color(C_HEAD, domain + ':'))
|
||||||
dump_dict(config, indent_count=3)
|
dump_dict(config, indent_count=3)
|
||||||
else:
|
else:
|
||||||
print(color('bold_white', 'Successful config (partial)'))
|
print(color('bold_white', 'Successful config (partial)'))
|
||||||
|
@ -53,7 +53,7 @@ boto3==1.3.1
|
|||||||
cherrypy==7.1.0
|
cherrypy==7.1.0
|
||||||
|
|
||||||
# homeassistant.scripts.check_config
|
# homeassistant.scripts.check_config
|
||||||
colorlog>2.1<3
|
colorlog>2.1,<3
|
||||||
|
|
||||||
# homeassistant.components.media_player.directv
|
# homeassistant.components.media_player.directv
|
||||||
directpy==0.1
|
directpy==0.1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user