For a step-by-step guide, watch the comprehensive tutorial available at the following link: Video
Below are the essential SOC Battery Monitor YAML snippets to add to Home Assistant.