core/homeassistant/components/tractive
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
..
translations [ci skip] Translation update 2021-08-22 00:11:30 +00:00
__init__.py Add `sensor` platform for Tractive integration (#54143) 2021-08-24 00:20:28 +02:00
config_flow.py Improve Tractive (#54532) 2021-08-16 12:56:10 +02:00
const.py Add `sensor` platform for Tractive integration (#54143) 2021-08-24 00:20:28 +02:00
device_tracker.py Add `sensor` platform for Tractive integration (#54143) 2021-08-24 00:20:28 +02:00
entity.py Add `sensor` platform for Tractive integration (#54143) 2021-08-24 00:20:28 +02:00
manifest.json Add `sensor` platform for Tractive integration (#54143) 2021-08-24 00:20:28 +02:00
sensor.py Add `sensor` platform for Tractive integration (#54143) 2021-08-24 00:20:28 +02:00
strings.json Improve Tractive (#54532) 2021-08-16 12:56:10 +02:00