Unable to fetch data from WAQI

The error log entry below started apearing after upgrade to 0.36.1:

17-01-18 21:03:37 homeassistant.components.sensor.waqi: Unable to fetch data from WAQI
Traceback (most recent call last):
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/components/sensor/waqi.py", line 132, in update
    self.data = pwaqi.getStationObservation(self._station_id)
  File "/home/hass/.homeassistant/deps/pwaqi/__init__.py", line 61, in getStationObservation
    'city': obsJson.get('city', ''),
AttributeError: 'str' object has no attribute 'get'

I don’t know to troubleshoot this. Any ideas?

The configuration for the sensor would help. As

sensor:
  - platform: waqi
    locations:
      - bern bollwerk

is working fine on dev.

Mine is this:

sensor:
- platform: waqi
  locations:
      - Brussels

It started working again without any intervention from my side 2 hours ago.

My configuration.yaml
sensor:

  • platform: waqi
    locations:
    • beijing

SSL certiface of waqi.info page expired today, leading to some major issues with HASS. I’ve got tons of SSL: CERTIFICATE_VERIFY_FAILED errors and eventually my RasPi died altogether.
I’ve tweated WAQI guys already.