mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 17:27:19 +00:00
Update platform_example_sensor.markdown
This commit is contained in:
parent
3de717fa7a
commit
59c5144a30
@ -13,7 +13,7 @@ This is a minimum implementation of a platform for the sensor component.
|
||||
|
||||
### {% linkable_title Installation %}
|
||||
|
||||
Copy the code below and create it as a file in `<config_dir>/sensor/example.py`.
|
||||
Copy the code below and create it as a file in `<config_dir>/custom_components/sensor/example.py`.
|
||||
|
||||
Add the following to your configuration.yaml:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user