mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-15 21:36:52 +00:00
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
@ -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…
x
Reference in New Issue
Block a user