30 Commits
Author SHA1 Message Date
Florian BezannierandFlorian BEZANNIER 98a97d7931 fix: home assistant proxy #1235
Use dash_app.get_asset_url() to ensure image paths respect the
X-Ingress-Path header (requests_pathname_prefix).

- Update all SVG image paths in control.py, figures.py, and views.py
  to use get_asset_url() instead of hardcoded 'assets/images/...' paths
- Add test_svg_images_with_ingress_path() to verify image paths
  contain the correct prefix when X-Ingress-Path header is present

Fixes issue where image paths were not prefixed in Home Assistant
ingress proxy setups.
2026-06-30 15:24:32 +02:00
Florian BezannierandFlorian BEZANNIER a31b9cf144 fix: proxy 2026-06-18 18:00:10 +02:00
Florian BezannierandFlorian BEZANNIER f33a0e6781 fix: ha ingress compat 2026-06-12 20:13:50 +02:00
Florian BezannierandFlorian BEZANNIER 955b4aae53 test: add ha test 2026-06-12 20:13:50 +02:00
Martin PauliandFlorian BEZANNIER 7ffdb74714 Use temperature measurement from car if available, otherwise fetch from openweather API
Adjust tests to match code changes

Test

Adjust tests to match code changes

Fix code formatting
2025-11-15 18:56:44 +01:00
Florian BezannierandFlorian BEZANNIER ccdcb7c9c9 fix: db lock #1069 2025-10-01 09:12:13 +02:00
Florian BezannierandFlorian BEZANNIER a85757986c test: fix test 2025-10-01 09:12:13 +02:00
Florian BezannierandFlorian BEZANNIER 146fe67fac chore: add car models 2025-10-01 09:12:13 +02:00
Florian BezannierandFlorian BEZANNIER 8f0743fb42 refacto: don't use regex for car model for performance reason 2025-04-09 09:04:07 +02:00
Florian Bezannier 442fbc505a feat: compress apk to be under github file size limit 2024-08-31 14:10:19 +02:00
Florian Bezannier a70b5c7d45 fix: #816 2024-03-23 15:12:14 +01:00
Florian BezannierandFlorian BEZANNIER ea01bcb6b7 style: apply autopep8 2024-01-08 08:57:16 +01:00
Mikado8231andFlorian BEZANNIER dfa4e8fb8d [ENH] Add duration in Charge table - tests 2023-11-25 13:06:45 +01:00
Florian BezannierandFlorian BEZANNIER 771cf5476c tests: improvement 2023-11-14 14:49:17 +01:00
Florian BezannierandFlorian BEZANNIER 38040130ea feat: add battery soh record 2023-11-14 14:49:17 +01:00
stevoh6andGitHub 8f5391bff8 Merge branch 'flobz:master' into feature/#386-mileage-in-charge-table 2023-05-04 16:07:30 +02:00
Florian Bezannier b8b1963fd2 fix: date after api upgrade 2023-04-14 18:29:18 +02:00
Florian Bezannier 370a73d889 fix: odometer #523 2023-04-13 20:06:13 +02:00
Florian Bezannier d102df25c2 test: fix test 2023-04-13 09:03:45 +02:00
stevoh6 a18700b100 Add mileage to the charge log 2023-01-13 08:55:17 +01:00
Florian BezannierandFlorian BEZANNIER 656749ab19 fix: division by zero #437 2023-01-02 23:33:51 +01:00
Florian Bezannier 93aadfb6f2 ci: fix test 2022-04-25 23:11:11 +02:00
Christian Brüggemann 7345fb4c3e Merge remote-tracking branch 'origin/master' into multi-day-charge-control
# Conflicts:
#	psa_car_controller/psacc/application/charge_control.py
2022-04-20 12:36:53 +02:00
Christian Brüggemann 232b559aa8 Add mock test for charge control 2022-04-20 12:33:27 +02:00
Florian Bezannier d998b72c42 feat: add energy efficiency & custom long trips min dist & fix last postition 2022-04-19 21:55:12 +02:00
Florian Bezannier 9ebb98e22d handle incorect mqtt message 2022-03-30 21:38:12 +02:00
Florian Bezannier e98b0ff5db fix #331, #306 and #333 2022-03-28 23:10:55 +02:00
Florian Bezannier 3eb7ad83fd improve test 2022-03-26 15:33:42 +01:00
Florian Bezannier 426ba9b71b fix electric car record & make backup only if db exist 2022-03-26 12:56:53 +01:00
Florian Bezannier 2a103683da fix test 2022-03-21 19:26:44 +01:00