mirror of
https://github.com/home-assistant/core.git
synced 2025-07-10 23:07:09 +00:00
Minor documentation updates
This commit is contained in:
parent
9c61c281ca
commit
85f7f5589d
@ -92,7 +92,7 @@ class WinkSensorDevice(Device):
|
|||||||
|
|
||||||
|
|
||||||
class WinkToggleDevice(ToggleDevice):
|
class WinkToggleDevice(ToggleDevice):
|
||||||
""" represents a WeMo switch within home assistant. """
|
""" represents a Wink switch within home assistant. """
|
||||||
|
|
||||||
def __init__(self, wink):
|
def __init__(self, wink):
|
||||||
self.wink = wink
|
self.wink = wink
|
||||||
|
@ -65,8 +65,6 @@ ATTR_UNIT_OF_MEASUREMENT = "unit_of_measurement"
|
|||||||
|
|
||||||
# Temperature attribute
|
# Temperature attribute
|
||||||
ATTR_TEMPERATURE = "temperature"
|
ATTR_TEMPERATURE = "temperature"
|
||||||
|
|
||||||
# #### MISC ####
|
|
||||||
TEMP_CELCIUS = "°C"
|
TEMP_CELCIUS = "°C"
|
||||||
TEMP_FAHRENHEIT = "°F"
|
TEMP_FAHRENHEIT = "°F"
|
||||||
|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# Builds the frontend for production
|
||||||
# Call 'build_frontend demo' to build a demo frontend.
|
# Call 'build_frontend demo' to build a demo frontend.
|
||||||
|
|
||||||
# If current pwd is scripts, go 1 up.
|
# If current pwd is scripts, go 1 up.
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
# Builds the JS for production
|
||||||
|
|
||||||
# If current pwd is scripts, go 1 up.
|
# If current pwd is scripts, go 1 up.
|
||||||
if [ ${PWD##*/} == "scripts" ]; then
|
if [ ${PWD##*/} == "scripts" ]; then
|
||||||
cd ..
|
cd ..
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
# Run style checks
|
||||||
|
|
||||||
# If current pwd is scripts, go 1 up.
|
# If current pwd is scripts, go 1 up.
|
||||||
if [ ${PWD##*/} == "scripts" ]; then
|
if [ ${PWD##*/} == "scripts" ]; then
|
||||||
cd ..
|
cd ..
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
# Builds the JS for developing, rebuilds when files change
|
||||||
|
|
||||||
# If current pwd is scripts, go 1 up.
|
# If current pwd is scripts, go 1 up.
|
||||||
if [ ${PWD##*/} == "scripts" ]; then
|
if [ ${PWD##*/} == "scripts" ]; then
|
||||||
cd ..
|
cd ..
|
||||||
|
Loading…
x
Reference in New Issue
Block a user