Helooo this day change in response json socMAX to socmax.
fix: if r.status_code == 200: status = r.json() if status.get('socmax'): socMax = status['socmax'] if status.get('socMax'): socMax = status['socMax'] logging.info('SoC Data retreived successfully') return socMax else: