Add setup type hints [f-g] (#63599)
Co-authored-by: epenet <epenet@users.noreply.github.com>
This commit is contained in:
parent
54cb1e7556
commit
f3af0781f8
17 changed files with 68 additions and 27 deletions
|
@ -1,11 +1,11 @@
|
|||
"""Support for Firmata binary sensor input."""
|
||||
|
||||
import logging
|
||||
|
||||
from homeassistant.components.binary_sensor import BinarySensorEntity
|
||||
from homeassistant.config_entries import ConfigEntry
|
||||
from homeassistant.const import CONF_NAME, CONF_PIN
|
||||
from homeassistant.core import HomeAssistant
|
||||
from homeassistant.helpers.entity_platform import AddEntitiesCallback
|
||||
|
||||
from .const import CONF_NEGATE_STATE, CONF_PIN_MODE, DOMAIN
|
||||
from .entity import FirmataPinEntity
|
||||
|
@ -15,7 +15,9 @@ _LOGGER = logging.getLogger(__name__)
|
|||
|
||||
|
||||
async def async_setup_entry(
|
||||
hass: HomeAssistant, config_entry: ConfigEntry, async_add_entities
|
||||
hass: HomeAssistant,
|
||||
config_entry: ConfigEntry,
|
||||
async_add_entities: AddEntitiesCallback,
|
||||
) -> None:
|
||||
"""Set up the Firmata binary sensors."""
|
||||
new_entities = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue