core/homeassistant/components/subaru
Garrett 9058b5b9c3
Update sensors for Subaru integration (#66996)
* Update sensor.py

* Change "EV Time to Fully Charged" type to datetime object (HA 2022.2)

* Validate types before accessing dict entries

* Test handling of invalid data from Subaru

* Bump to subarulink 0.4.2

* Incorporate style suggestion

* Update sensor.py to use SensorEntity

* isort tests

* Remove SubaruSensor.current_value

* Fix isort errors

* Resolve conflict from previous PR (add locks)

* Fix linting errors in config_flow.py

* Incorporate PR review comments for sensor

* Incorporate PR review comments for sensor

* Make 3rd party library responsible for API data parsing

* Add type annotations to sensor.py

* Incorporate PR review comments

* Incorporate PR review comments

* Set _attr_has_entity_name = True for sensors
2022-10-02 00:25:49 +02:00
..
translations
__init__.py
config_flow.py Update sensors for Subaru integration (#66996) 2022-10-02 00:25:49 +02:00
const.py Update sensors for Subaru integration (#66996) 2022-10-02 00:25:49 +02:00
lock.py
manifest.json Update sensors for Subaru integration (#66996) 2022-10-02 00:25:49 +02:00
remote_service.py
sensor.py Update sensors for Subaru integration (#66996) 2022-10-02 00:25:49 +02:00
services.yaml
strings.json