Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
* Tractive, add more sensors
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
* source
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
* Fix unit for sensor
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
* Device state
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
* Device state
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
* Tractive
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
* Tractive
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
* unit
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
* Handle unavailable
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
* time
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
* continue
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
* remove sensor
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
* style
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
* tractive states
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
* 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>