Webhook for Traccar (#24762)

* 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
This commit is contained in:
escoand 2019-08-10 00:14:03 +02:00 committed by Martin Hjelmare
parent 60dfa38717
commit dc5c1783dc
8 changed files with 556 additions and 6 deletions

View file

@ -51,6 +51,7 @@ FLOWS = [
"tellduslive",
"toon",
"tplink",
"traccar",
"tradfri",
"twentemilieu",
"twilio",