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 }}" 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. ```