Celcius to celsius doc fix (#424)

* Update platform_example_sensor.markdown

Fix celcius to celsius

* Update splitting_configuration.markdown
This commit is contained in:
Alex Harvey 2016-04-24 02:14:46 -07:00 committed by Fabian Affolter
parent d98d3a5258
commit 3782bd39c0
2 changed files with 3 additions and 3 deletions

View File

@ -26,7 +26,7 @@ homeassistant:
# Location required to calculate the time the sun rises and sets
latitude: 37
longitude: -121
# C for Celcius, F for Fahrenheit
# C for Celsius, F for Fahrenheit
temperature_unit: F
# Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
time_zone: America/Los_Angeles

View File

@ -26,7 +26,7 @@ sensor:
### {% linkable_title Code %}
```python
from homeassistant.const import TEMP_CELCIUS
from homeassistant.const import TEMP_CELSIUS
from homeassistant.helpers.entity import Entity
@ -45,5 +45,5 @@ class ExampleSensor(Entity):
@property
def unit_of_measurement(self):
return TEMP_CELCIUS
return TEMP_CELSIUS
```