From 7f7a1f2740468e9dc7050a7d8b5fb1288686c1b3 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Sun, 22 Feb 2015 17:33:01 -0800 Subject: [PATCH] Minor documentation updates --- homeassistant/components/wink.py | 2 +- homeassistant/const.py | 2 -- scripts/build_frontend | 1 + scripts/build_js | 2 ++ scripts/check_style | 2 ++ scripts/dev_js | 2 ++ 6 files changed, 8 insertions(+), 3 deletions(-) diff --git a/homeassistant/components/wink.py b/homeassistant/components/wink.py index 20b3e0b75f9..643af935f94 100644 --- a/homeassistant/components/wink.py +++ b/homeassistant/components/wink.py @@ -92,7 +92,7 @@ class WinkSensorDevice(Device): class WinkToggleDevice(ToggleDevice): - """ represents a WeMo switch within home assistant. """ + """ represents a Wink switch within home assistant. """ def __init__(self, wink): self.wink = wink diff --git a/homeassistant/const.py b/homeassistant/const.py index d64033f4ba3..8b8372aaf61 100644 --- a/homeassistant/const.py +++ b/homeassistant/const.py @@ -65,8 +65,6 @@ ATTR_UNIT_OF_MEASUREMENT = "unit_of_measurement" # Temperature attribute ATTR_TEMPERATURE = "temperature" - -# #### MISC #### TEMP_CELCIUS = "°C" TEMP_FAHRENHEIT = "°F" diff --git a/scripts/build_frontend b/scripts/build_frontend index 97d5165b8e5..406aed45f46 100755 --- a/scripts/build_frontend +++ b/scripts/build_frontend @@ -1,3 +1,4 @@ +# Builds the frontend for production # Call 'build_frontend demo' to build a demo frontend. # If current pwd is scripts, go 1 up. diff --git a/scripts/build_js b/scripts/build_js index 792f82516a2..a75b48f9bf9 100755 --- a/scripts/build_js +++ b/scripts/build_js @@ -1,3 +1,5 @@ +# Builds the JS for production + # If current pwd is scripts, go 1 up. if [ ${PWD##*/} == "scripts" ]; then cd .. diff --git a/scripts/check_style b/scripts/check_style index d7dbae02baf..cacebba15a1 100755 --- a/scripts/check_style +++ b/scripts/check_style @@ -1,3 +1,5 @@ +# Run style checks + # If current pwd is scripts, go 1 up. if [ ${PWD##*/} == "scripts" ]; then cd .. diff --git a/scripts/dev_js b/scripts/dev_js index cadc794a483..a62f0d85ef3 100755 --- a/scripts/dev_js +++ b/scripts/dev_js @@ -1,3 +1,5 @@ +# Builds the JS for developing, rebuilds when files change + # If current pwd is scripts, go 1 up. if [ ${PWD##*/} == "scripts" ]; then cd ..