Integration doesn't load if there's a gas meter but no data
There is an issue if there is a gas meter present but the range is null when we access the data. Example error...
`homeassistant Traceback (most recent call last):
homeassistant File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 304, in _async_setup_platform
homeassistant await asyncio.shield(task)
homeassistant File "/config/custom_components/powershaper_monitor/sensor.py", line 77, in async_setup_entry
homeassistant earliest_gas_date = response_data[1]["range"]["earliest"][:10]
homeassistant TypeError: 'NoneType' object is not subscriptable`
Edited by Ellis Barnwell