Remove FFmpeg input tests (#18131)
* Remove FFmpeg input tests * Not needed here * Removing tests for removed functionality * Minor lint * Fix tests to reflect removed config option * Remove async service registration by request * More lint * Unused imports * Make it a non-breaking change * Update ffmpeg.py
This commit is contained in:
parent
782a90a535
commit
9807ba1a5d
7 changed files with 15 additions and 127 deletions
|
@ -32,8 +32,6 @@ PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({
|
|||
async def async_setup_platform(hass, config, async_add_entities,
|
||||
discovery_info=None):
|
||||
"""Set up a FFmpeg camera."""
|
||||
if not await hass.data[DATA_FFMPEG].async_run_test(config.get(CONF_INPUT)):
|
||||
return
|
||||
async_add_entities([FFmpegCamera(hass, config)])
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue