Fix loading translations for embedded platforms (#20122)
* Fix loading translations for embedded platforms * Update doc string * Lint
This commit is contained in:
1 parent
cd6679eb5b
commit
9fd21d20ae
4 files changed
+64
-16
No files matched your search
@@ -0,0 +1,6 @@
|
||||
"""Component with embedded platforms."""
|
||||
|
||||
|
||||
async def async_setup(hass, config):
|
||||
"""Mock config."""
|
||||
return True
|
||||
@@ -0,0 +1,7 @@
|
||||
"""Switch platform for the embedded component."""
|
||||
|
||||
|
||||
async def async_setup_platform(hass, config, async_add_entities_callback,
|
||||
discovery_info=None):
|
||||
"""Find and return test switches."""
|
||||
pass
|
||||
Reference in new issue
Block a user