fix import in custom components documentation (#1909)
This commit is contained in:
parent
a3f5062ec7
commit
b58f1fc712
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ def setup(hass, config):
|
|||
Add your custom device specific code to the `setup_platform` method in `light/myflashyhub.py` and `switch/myflashyhub`.
|
||||
|
||||
```python
|
||||
import homeassistant.components.myflashyhub as myflashyhub
|
||||
import custom_components.myflashyhub as myflashyhub
|
||||
|
||||
# 'switch' will receive discovery_info={'optional': 'arguments'}
|
||||
# as passed in above. 'light' will receive discovery_info=None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue