Update syntax (#14771)

This commit is contained in:
Fabian Affolter 2018-06-02 14:30:07 +02:00 committed by Paulus Schoutsen
parent 875e05ff38
commit 1ce4c2092a

View File

@ -4,7 +4,6 @@ Support for displaying the current version of Home Assistant.
For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/sensor.version/
"""
import asyncio
import logging
import voluptuous as vol
@ -23,8 +22,8 @@ PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({
})
@asyncio.coroutine
def async_setup_platform(hass, config, async_add_devices, discovery_info=None):
async def async_setup_platform(
hass, config, async_add_devices, discovery_info=None):
"""Set up the Version sensor platform."""
name = config.get(CONF_NAME)