-
- Downloads
Fix late review comments for Scrape (#81259)
* Review comments from #74325 * Remove moved test * Fix init * Handle no data * Remove print * Fix tests * PlatformNotReady if no data * Recover failed platform setup * Fix broken test * patch context * reset test init * Move to platform * asyncio gather * Remove duplicate code
Showing
- homeassistant/components/scrape/__init__.py 18 additions, 18 deletionshomeassistant/components/scrape/__init__.py
- homeassistant/components/scrape/sensor.py 29 additions, 26 deletionshomeassistant/components/scrape/sensor.py
- tests/components/scrape/test_init.py 51 additions, 6 deletionstests/components/scrape/test_init.py
- tests/components/scrape/test_sensor.py 15 additions, 23 deletionstests/components/scrape/test_sensor.py
Loading
Please register or sign in to comment