core/tests/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
..
__init__.py
api_responses.py Update sensors for Subaru integration (#66996) 2022-10-02 00:25:49 +02:00
conftest.py Update sensors for Subaru integration (#66996) 2022-10-02 00:25:49 +02:00
test_config_flow.py
test_init.py
test_lock.py
test_sensor.py Update sensors for Subaru integration (#66996) 2022-10-02 00:25:49 +02:00