init
This commit is contained in:
18
custom_components/blueprint/const.py
Normal file
18
custom_components/blueprint/const.py
Normal file
@ -0,0 +1,18 @@
|
||||
"""Consts"""
|
||||
DOMAIN = 'blueprint'
|
||||
DOMAIN_DATA = '{}_data'.format(DOMAIN)
|
||||
VERSION = '0.0.1'
|
||||
URL = 'https://blueprint.com/api'
|
||||
REQUIRED_FILES = ['sensor.py', 'const.py']
|
||||
ISSUE_URL = 'https://github.com/custom-components/blueprint/issues'
|
||||
PLATFORMS = ['sensor']
|
||||
|
||||
STARTUP = """
|
||||
----------------------------------------------
|
||||
{name}
|
||||
Version: {version}
|
||||
This is a custom component
|
||||
If you have any issues with this you need to open an issue here:
|
||||
{issueurl}
|
||||
----------------------------------------------
|
||||
"""
|
Reference in New Issue
Block a user