Commit graph

136 commits

Author SHA1 Message Date
Daniel Hjelseth Høyer
ca55216d67
Use device class enum in Tractive (#60700) 2021-12-01 10:58:43 +01:00
GitHub Action
78b47019f9 [ci skip] Translation update 2021-11-26 00:12:49 +00:00
GitHub Action
9e606abb0c [ci skip] Translation update 2021-11-23 00:13:54 +00:00
GitHub Action
31d4239b64 [ci skip] Translation update 2021-11-22 00:13:02 +00:00
GitHub Action
29dc9de08f [ci skip] Translation update 2021-11-19 00:14:01 +00:00
GitHub Action
0228d11546 [ci skip] Translation update 2021-11-16 00:18:33 +00:00
GitHub Action
f0c9f443d1 [ci skip] Translation update 2021-11-15 00:12:46 +00:00
GitHub Action
e35b83081e [ci skip] Translation update 2021-11-08 00:12:31 +00:00
Daniel Hjelseth Høyer
24d3bf0930
Add configuration url to Tractive (#58038)
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2021-10-19 19:57:01 +02:00
GitHub Action
c76e15149c [ci skip] Translation update 2021-10-17 00:12:27 +00:00
Daniel Hjelseth Høyer
4300f1de46
Use DeviceInfo class (#57868) 2021-10-16 14:51:10 -07:00
Maciej Bieniek
e7e88d6a19
Add entity category to Tractive (#57720) 2021-10-14 17:46:25 -07:00
Maciej Bieniek
946a265c9e
Use Final type only when needed in Tractive (#57000) 2021-10-03 22:12:59 +02:00
Maciej Bieniek
f3c76fb859
Add strict typing to Tractive integration (#56948)
* Strict typing

* Add few missing types

* Run hassfest

* Fix mypy errors

* Use List instead of list
2021-10-03 09:13:12 +02:00
GitHub Action
f42c2f5170 [ci skip] Translation update 2021-10-02 12:59:05 +00:00
Maciej Bieniek
0463007050
Add switch platform to Tractive integration (#55517) 2021-09-29 21:06:11 +02:00
Maciej Bieniek
2581a3a735
Add binary sensor platform to Tractive integration (#56635)
* Add binary sensor platform

* Update .coveragerc file

* Create battery charging sensor only if tracker supports it

* Improve async_setup_entry

* Add TRAXL1 model
2021-09-28 09:56:06 +02:00
Maciej Bieniek
e62c9d338e
Rework Tractive integration init (#55741)
* Rework integration init

* Suggested chancge

* Use Trackables class

* Use try..except for trackable_objects

* Check that the pet has tracker linked
2021-09-24 08:45:03 +02:00
GitHub Action
19dcb19d07 [ci skip] Translation update 2021-09-04 00:13:17 +00:00
Daniel Hjelseth Høyer
6a93f5b7ad
Tractive name (#55342) 2021-08-28 08:57:57 -07:00
Maciej Bieniek
19873e6547
Address late review for Tractive integration (#55371) 2021-08-28 17:49:34 +02:00
GitHub Action
65d14909ee [ci skip] Translation update 2021-08-27 00:14:42 +00:00
Maciej Bieniek
09b872d51f
Add sensor platform for Tractive integration (#54143)
* Add sensor platform

* Add extra_state_attributes

* Add more constants

* Add sensor.py to .coveragerc file

* Use native value

* Suggested change

* Move SENSOR_TYPES to sensor platform

* Add domain as prefix to the signal

* Use TractiveEntity class

* Add model.py to .coveragerc file

* Clean up files

* Add entity_class attribute to TractiveSensorEntityDescription class

* TractiveEntity inherits from Entity

* Suggested change

* Define _attr_icon as class attribute

Co-authored-by: Daniel Hjelseth Høyer <mail@dahoiv.net>
2021-08-24 00:20:28 +02:00
GitHub Action
45baf88862 [ci skip] Translation update 2021-08-22 00:11:30 +00:00
GitHub Action
fc6d45a63b [ci skip] Translation update 2021-08-20 00:16:03 +00:00
GitHub Action
4a9a6cd538 [ci skip] Translation update 2021-08-19 00:13:56 +00:00
GitHub Action
0100ffcb8c [ci skip] Translation update 2021-08-18 00:13:44 +00:00
Daniel Hjelseth Høyer
909af30c7c
Tractive, update library (#54775)
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2021-08-17 22:04:05 +02:00
GitHub Action
1661de5c19 [ci skip] Translation update 2021-08-17 00:12:45 +00:00
Daniel Hjelseth Høyer
d11c58dac8
Improve Tractive (#54532)
* Tractive, code improve

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Tractive, code improve

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Tractive, code improve

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Update homeassistant/components/tractive/config_flow.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update homeassistant/components/tractive/const.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Tractive, comments

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Update homeassistant/components/tractive/config_flow.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update homeassistant/components/tractive/config_flow.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Tractive

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Reauth

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Reauth

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* add tests

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* add tests

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-16 12:56:10 +02:00
GitHub Action
a9807e5fa7 [ci skip] Translation update 2021-08-15 00:11:00 +00:00
GitHub Action
390023a576 [ci skip] Translation update 2021-08-11 00:18:57 +00:00
GitHub Action
af565ea6bd [ci skip] Translation update 2021-08-08 00:11:15 +00:00
GitHub Action
98bcdc2cf5 [ci skip] Translation update 2021-08-07 00:10:12 +00:00
GitHub Action
64c9f9e1cb [ci skip] Translation update 2021-08-06 00:15:04 +00:00
Gleb Sinyavskiy
25eb27cb9f
Add tractive integration (#51002)
* Scaffold

* Implement config flow

* Add dymmy device tracker and TractiveClient

* Add simple DeviceTracker

* Add device info

* Listen to tractive event and update tracker entities accordingly

* Refactoring

* Fix logging level

* Handle connection errors

* Remove sleep

* Fix logging

* Remove unused strings

* Replace username config with email

* Update aiotractive

* Use debug instead of info

* Cover config_flow

* Update .coveragerc

* Add quality scale to manifest

* pylint

* Update aiotractive

* Do not emit SERVER_AVAILABLE, properly handle availability

* Use async_get_clientsession

Co-authored-by:  Daniel Hjelseth Høyer <mail@dahoiv.net>

* Add @Danielhiversen as a codeowner

* Remove the title from strings and translations

* Update homeassistant/components/tractive/__init__.py

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

* Force CI

* Use _attr style properties instead of methods

* Remove entry_type

* Remove quality scale

* Make pyupgrade happy

Co-authored-by: Daniel Hjelseth Høyer <mail@dahoiv.net>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-08-05 12:47:42 +02:00