mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-02-18 23:41:48 +01:00
1.2 KiB
1.2 KiB
Home Assistant Battery Automation Notes (2025-10-10)
- Work performed on delly host, LXC VMID 101 (Home Assistant). Pulse codebase unaffected.
- Root cause: malformed
automations.yamlcaused five restarts between 00:23–00:33 BST. - Fixes applied:
- Restored automation backups.
- Replaced
pyscript.solis_set_charge_currentcalls withnumber.set_valuetargetingnumber.solis_rhi_time_charging_charge_current. - Removed invalid
source:attributes fromnumber.set_valueactions.
- Validation:
- Triggered key automations (
automation.free_electricity_session_maximum_charging,automation.intelligent_dispatch_solis_battery_charging,automation.emergency_low_soc_protection, EV guard hold/refresh/release). - Observed expected charge-current adjustments (100 A car slots/free session, 25 A emergency, 5 A guard) and matching system logs.
- Triggered key automations (
- Defaults restored: overnight slot
23:30–05:30. - Backups:
/var/lib/docker/volumes/hass_config/_data/automations.yaml.codex_source_cleanup_20251010_090205(do not delete). - Testing helpers: API token stored at
/tmp/ha_token.txtinside VM; usepct exec 101 -- bash -lc '...'for commands. - Final state: charge current reset to 25 A; EV guard sensor
off.