* add initial traccar webhook support * remove unused import * add tests but disabled atm * remove translations * add timestamp parameter * use post for tests * rename config_flow * format using black * format tests using black * Use str instead of float * fix most comments * check id * add two device test * reformat * fix failuers * Update tests/components/traccar/test_init.py Co-Authored-By: Martin Hjelmare <marhje52@kth.se> * Update tests/components/traccar/test_init.py Co-Authored-By: Martin Hjelmare <marhje52@kth.se> * Update tests/components/traccar/test_init.py Co-Authored-By: Martin Hjelmare <marhje52@kth.se> * Update tests/components/traccar/test_init.py Co-Authored-By: Martin Hjelmare <marhje52@kth.se> * black
10 lines
260 B
Python
10 lines
260 B
Python
"""Config flow for Traccar."""
|
|
from homeassistant.helpers import config_entry_flow
|
|
from .const import DOMAIN
|
|
|
|
|
|
config_entry_flow.register_webhook_flow(
|
|
DOMAIN,
|
|
"Traccar Webhook",
|
|
{"docs_url": "https://www.home-assistant.io/components/traccar/"},
|
|
)
|