Update file header (#21023)
* Update file header * Update file header * Update file header * Update file header * Update file header * Fix lint issues
This commit is contained in:
parent
22af9707ad
commit
127c55e0c1
492 changed files with 1015 additions and 3497 deletions
|
@ -1,9 +1,4 @@
|
|||
"""
|
||||
Support for Speedtest.net internet speed testing sensor.
|
||||
|
||||
For more details about this platform, please refer to the documentation at
|
||||
https://home-assistant.io/components/sensor.speedtestdotnet/
|
||||
"""
|
||||
"""Support for Speedtest.net internet speed testing sensor."""
|
||||
import logging
|
||||
|
||||
from homeassistant.components.speedtestdotnet.const import \
|
||||
|
@ -30,8 +25,8 @@ ATTRIBUTION = 'Data retrieved from Speedtest.net by Ookla'
|
|||
ICON = 'mdi:speedometer'
|
||||
|
||||
|
||||
async def async_setup_platform(hass, config, async_add_entities,
|
||||
discovery_info):
|
||||
async def async_setup_platform(
|
||||
hass, config, async_add_entities, discovery_info):
|
||||
"""Set up the Speedtest.net sensor."""
|
||||
data = hass.data[SPEEDTESTDOTNET_DOMAIN]
|
||||
async_add_entities(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue