Tags: DurgNomis-drol/ha_toyota
Tags
Remove `suggested_unit_of_measurement` attributes (#292) * Remove `suggested_unit_of_measurement` attributes Solves #273 and makes it work in 2024.7 * Revert "Remove `suggested_unit_of_measurement` attributes" This reverts commit e7003f4. * add explicit suggested_unit_of_measurement * set explicit `native_unit` and `suggested_unit` * bump version to 2.0.5 --------- Co-authored-by: Simon Hörrle <[email protected]>
Fix: "Use metric units" toggle has no effect and simplify sensor crea… …tion (#219) * Initiate config flow and add reauth function * remove DATA_SCHEMA * remove DATA_SCHEMA * add logger * add logger * set default metric values setting to true * add more logging regarding metric values * call for config entry inside get function * update logging * get metric_value from coordinator * log sensor entries * Add suggested_unit_of_measurement * Simplify sensor generation * change statistics SensorStateClass to TOTAL * Rever change on statistics senosrs state_class
Pin mytoyota to v2.0.0 (#229) * Bump mytoyota from 1.2.0 to 1.3.1 Bumps [mytoyota](https://github.com/DurgNomis-drol/mytoyota) from 1.2.0 to 1.3.1. - [Release notes](https://github.com/DurgNomis-drol/mytoyota/releases) - [Commits](DurgNomis-drol/mytoyota@v1.2.0...v1.3.1) --- updated-dependencies: - dependency-name: mytoyota dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * pin mytoyota to v2.0.0 --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Simon Hörrle <[email protected]>
Use new mytoyota api endpoints (#198) * poetry update and use stub files in dev dependencies for better hints * update mytoyota dependency in manifest file * fix implicit string concatenation * adapt config flow to new api * adopt statistics gathering to upcoming mytoyota changes * adopt device tracker to new API * update manifest file * add statistic to base entity * bump version * using brand from vehicle info * simplify genrating of device tracker * bump required minimum mytoyota version to 1.1.0 * remove unused binary sensors for now * simplify capability check * adopt binary sensors to new api models * fix import error * use last_parked capability for generating device_tracker * make metric value choise a requirement * make metric value choise a requirement * add translations * bump minmum required mytoyota version * invert binary sensor logic * only create trunk status binary_sensor if bonnet_status capability is reported by car * run pre-commit on all files * return None if try block fails * increase update_interval to 5 minutes * adjust driver door lock icon * make metric value information available for further steps * adopt statistics sensors to new api * update statistics utils and delete unsused constants * add vin sensor * display all vehicle informations in vin sensor * display ev summary also for pure electric vehicles * return timdelta and date as string * add odometer and fuel sensors * clean up sensor translations * format vin sensor attributes * use car_model_name * make battery_level sensor available for all ev vehicles * use upper case for asi_code and imei * fix battery_level sensor * return only true capabilities * add battery_range * add total_range * add battery_range_ac * fix unpacking * reurn dict instead of list * mask pii data in attributes * round range and level values * bump minimum required mytoyota version to 1.1.3 * reduce line-length * no need for masking Katashiki_code * add duration and distance to summary attributes * remove redundant vin information in attributes * remove redundant information * rename fuel consumption * bump minimum required mytoyota version to 1.2.0 * add average_fuel_consumed to vin sensor attributes * use dictionary merging * Make use of new helper functions for statistics * Update readme * generate battery sensors only for ev vehicles * Use Mapping for brand names * create odometer only when telemetry capable * Update French translations (#203) Signed-off-by: Pierre Belloy <[email protected]> * Use same condition for ev vehicles like in mytoyota lib * use same condition for last_parked like in mytoyota lib * create statistics sensors by default for now --------- Signed-off-by: Pierre Belloy <[email protected]> Co-authored-by: Pierre Belloy <[email protected]>
PreviousNext