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 @@ 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