What has been done so far:
- Added the following to
configuration.yaml:
notify:
- name: charging_log
platform: file
filename: charging_log.csv
-
Verified:
- No duplicate
notify:entries exist. - The file
charging_log.csvis manually created in/config/.
- No duplicate
-
Tried multiple file paths:
charging_log.csvlogs/charging_log.csv/config/charging_log.csv/logs/charging_log.csv
-
Ran Configuration Check in Developer Tools → YAML → Check Configuration: passed.
-
Performed full restart of Home Assistant (not just reloading YAML).
-
Tried calling the service via GUI:
notify.charging_logdoes not appear in Developer Tools → Actions → Call service.- Manually entering it in an automation gives this error:
Error: Action notify.charging_log not found
-
Example automation tested:
alias: Simpel log til fil
trigger:
- platform: time_pattern
minutes: "/5"
action:
- service: notify.charging_log
data:
message: "{{ now() }},{{ states('sensor.positive_active_power') }}"
mode: single
- Error output when it runs:
Error: Action notify.charging_log not found
-
Verified:
- Other
notifyservices (e.g., mobile notifications) are working. - "File Notifications" integration or similar does not show under Settings → Integrations.
- File access attempts through
/config/andlogs/fail with:
Access to the selected file path is not allowed
- Other
Environment Info:
- Installation: Home Assistant OS
- Core: 2025.6.1
- Supervisor: 2025.05.5
- OS: 15.2
- Frontend: 20250531.3
- No access to terminal – only GUI