Skip to content

Commit b58f1fc

Browse files
sbidoulfabaff
authored andcommitted
fix import in custom components documentation (home-assistant#1909)
1 parent a3f5062 commit b58f1fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/developers/component_generic_discovery.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def setup(hass, config):
5959
Add your custom device specific code to the `setup_platform` method in `light/myflashyhub.py` and `switch/myflashyhub`.
6060

6161
```python
62-
import homeassistant.components.myflashyhub as myflashyhub
62+
import custom_components.myflashyhub as myflashyhub
6363

6464
# 'switch' will receive discovery_info={'optional': 'arguments'}
6565
# as passed in above. 'light' will receive discovery_info=None

0 commit comments

Comments
 (0)