Traceback (most recent call last):


 "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 322, in _async_add_entity

await entity.async_device_update(warning=False)


 "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 472, in async_device_update

await self.hass.async_add_executor_job(self.update)


 "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run

result = self.fn(*self.args, **self.kwargs)


 "/usr/src/homeassistant/homeassistant/components/co2signal/sensor.py", line 105, in update

self._token, country_code=self._country_code


 "/usr/local/lib/python3.7/site-packages/CO2Signal/__init__.py", line 15, in get_latest_carbon_intensity

latest_data = get_latest(token, country_code, latitude, longitude)


 "/usr/local/lib/python3.7/site-packages/CO2Signal/co2signal.py", line 48, in get_latest

longitude = longitude, wait = False)


 "/usr/local/lib/python3.7/site-packages/CO2Signal/co2signal.py", line 50, in get_latest

raise ValueError("API rate limit exceeded. Please wait a few seconds before retrying the request.")
ValueError: API rate limit exceeded. Please wait a few seconds before retrying the request.

Traceback (most recent call last):


 "LSTM1.py", line 32, in <module>

model.train_on_batch(s1,y1)


 "/usr/lib/python2.7/site-packages/keras/models.py", line 933, in train_on_batch

class_weight=class_weight)


 "/usr/lib/python2.7/site-packages/keras/engine/training.py", line 1614, in train_on_batch

check_batch_axis=True)


 "/usr/lib/python2.7/site-packages/keras/engine/training.py", line 1307, in _stant's going on but I have an error. So could you please help me to figure it out?dardize_user_data

_check_array_lengths(x, y, sample_weights)


 "/usr/lib/python2.7/site-packages/keras/engine/training.py", line 229, in _check_array_lengths

'and ' + str(list(set_y)[0]) + ' target samples.')
ValueError: Input arrays should have the same number of samples as target arrays. Found 1 input samples and 3 target samples.
