-
-
Notifications
You must be signed in to change notification settings - Fork 34.1k
Move constants to setup.py #10312
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move constants to setup.py #10312
Conversation
homeassistant/const.py
Outdated
@@ -463,3 +432,6 @@ | |||
TEMPERATURE = 'temperature' # type: str | |||
SPEED_MS = 'speed_ms' # type: str | |||
ILLUMINANCE = 'illuminance' # type: str | |||
|
|||
WEEKDAYS = ['mon', 'tue', 'wed', 'thu', 'fri', 'sat', 'sun'] | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
blank line at end of file
|
||
from homeassistant.const import __version__, __short_version__ | ||
from setup import ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This broke the sphinx build
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in #12535
Description:
setup.py
Checklist:
If the code does not interact with devices:
tox
run successfully. Your PR cannot be merged unless tests pass