From bb84d332f85abe66e8118d4b261afab0f8248086 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C6=B0u=20Quang=20V=C5=A9?= Date: Thu, 8 Jan 2026 08:21:31 +0700 Subject: [PATCH 1/2] Clarify instructions for enabling Pyscript options in traffic_fine_notification.yaml --- traffic_fine_notification.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/traffic_fine_notification.yaml b/traffic_fine_notification.yaml index d1345a8..f99b74f 100644 --- a/traffic_fine_notification.yaml +++ b/traffic_fine_notification.yaml @@ -13,7 +13,7 @@ blueprint: - Cần sao chép tập lệnh `scripts/traffic_fine_lookup_tool.py` vào thư mục `config/pyscript`. - Cần sao chép tập tin `scripts/requirements.txt` vào thư mục `config/pyscript`. - Các tệp được đề cập bên trên đều có sẵn trong kho lưu trữ Github. - - Bật hai cài đặt cấu hình Pyscript để cho phép nhập bất kỳ gói Python nào và hiển thị hass dưới dạng một biến. + - Cần kích hoạt hai tùy chọn Pyscript thông qua giao diện người dùng hoặc qua YAML để cho phép nhập tất cả các gói Python và để biến hass thành một biến toàn cục. - Cần cấu hình 1 khóa Gemini API trong `config/configuration.yaml` và `config/secrets.yaml` sử dụng cho việc giải mã CAPTCHA. ``` From b1ca5c1d7bc60c6b6290cde1d240758973cb33b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C6=B0u=20Quang=20V=C5=A9?= Date: Mon, 12 Jan 2026 20:15:52 +0700 Subject: [PATCH 2/2] Fix solar date extraction in event creation sequence --- create_lunar_events.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/create_lunar_events.yaml b/create_lunar_events.yaml index 001ab03..536fbad 100644 --- a/create_lunar_events.yaml +++ b/create_lunar_events.yaml @@ -133,7 +133,7 @@ sequence: response_variable: response - variables: solar_date: >- - {{ response.date if (response is defined and response.get('date')) }} + {{ response.solar_date if (response is defined and response.get('solar_date')) }} - action: calendar.create_event data: summary: "{{ event_summary }}"