* Adds integration for Plaato Airlock * Updates codeowners and coveragerc * Fixes lint errors * Fixers lint check error * Removed sv translation file * Adds en translation file * Sets config flow to true in manifest * Moves config flow and domain to seperate files * Fixes lint errors * Runs hassfest to regenerate config_flows.py * Adds should poll property and fixes for loop * Only log a warning when webhook data was broken * Fixes static test failure * Moves state update from async_update to state prop * Unsubscribes the dispatch signal listener * Update sensor.py
11 lines
265 B
Python
11 lines
265 B
Python
"""Config flow for GPSLogger."""
|
|
from homeassistant.helpers import config_entry_flow
|
|
from .const import DOMAIN
|
|
|
|
config_entry_flow.register_webhook_flow(
|
|
DOMAIN,
|
|
'Webhook',
|
|
{
|
|
'docs_url': 'https://www.home-assistant.io/components/plaato/'
|
|
}
|
|
)
|