You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting the below error every 2-4 minutes and is filling up the logs.. Any ideas?
16-10-04 18:10:40 homeassistant.components.sensor.rest: Error fetching data: <PreparedRequest [GET]> 16-10-04 18:10:40 homeassistant.core: BusHandler:Exception doing job Traceback (most recent call last): File "/srv/hass/lib/python3.5/site-packages/homeassistant/core.py", line 1162, in job_handler func(*args) File "/srv/hass/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 229, in _update_entity_states entity.update_ha_state(True) File "/srv/hass/lib/python3.5/site-packages/homeassistant/helpers/entity.py", line 154, in update_ha_state self.update() File "/srv/hass/lib/python3.5/site-packages/homeassistant/components/sensor/pi_hole.py", line 101, in update self._state = json.loads(self.rest.data) File "/usr/lib/python3.5/json/__init__.py", line 312, in loads s.__class__.__name__)) TypeError: the JSON object must be str, not 'NoneType'
The text was updated successfully, but these errors were encountered:
If the device running Pi-Hole is not available, I get this traceback.
Traceback (most recent call last):
File "/home/fab/Documents/repos/home-assistant/homeassistant/core.py", line 1200, in job_handler
func(*args)
File "/home/fab/Documents/repos/home-assistant/homeassistant/helpers/entity_component.py", line 229, in _update_entity_states
entity.update_ha_state(True)
File "/home/fab/Documents/repos/home-assistant/homeassistant/helpers/entity.py", line 166, in update_ha_state
self.update()
File "/home/fab/Documents/repos/home-assistant/homeassistant/components/sensor/pi_hole.py", line 103, in update
self._state = json.loads(self.rest.data)
File "/usr/lib64/python3.5/json/__init__.py", line 312, in loads
s.__class__.__name__))
TypeError: the JSON object must be str, not 'NoneType'
Is the device accessible by your Home Assistant instance?
Home Assistant release (
hass --version
):0.29.6Python release (
python3 --version
):3.5.2Getting the below error every 2-4 minutes and is filling up the logs.. Any ideas?
16-10-04 18:10:40 homeassistant.components.sensor.rest: Error fetching data: <PreparedRequest [GET]> 16-10-04 18:10:40 homeassistant.core: BusHandler:Exception doing job Traceback (most recent call last): File "/srv/hass/lib/python3.5/site-packages/homeassistant/core.py", line 1162, in job_handler func(*args) File "/srv/hass/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 229, in _update_entity_states entity.update_ha_state(True) File "/srv/hass/lib/python3.5/site-packages/homeassistant/helpers/entity.py", line 154, in update_ha_state self.update() File "/srv/hass/lib/python3.5/site-packages/homeassistant/components/sensor/pi_hole.py", line 101, in update self._state = json.loads(self.rest.data) File "/usr/lib/python3.5/json/__init__.py", line 312, in loads s.__class__.__name__)) TypeError: the JSON object must be str, not 'NoneType'
The text was updated successfully, but these errors were encountered: