Celcius to celsius doc fix (#424)
* Update platform_example_sensor.markdown Fix celcius to celsius * Update splitting_configuration.markdown
This commit is contained in:
parent
d98d3a5258
commit
3782bd39c0
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue