Traceback (most recent call last):


 "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity_platform.py", line 126, in _async_setup_platform

SLOW_SETUP_MAX_WAIT)


 "/usr/lib/python3.5/asyncio/tasks.py", line 400, in wait_for

return fut.result()


 "/usr/lib/python3.5/asyncio/futures.py", line 293, in result

raise self._exception


 "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run

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


 "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/sleepiq/sensor.py", line 18, in setup_platform

dev.append(SleepNumberSensor(data, bed_id, side))


 "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/sleepiq/sensor.py", line 33, in __init__

self.update()


 "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/sleepiq/sensor.py", line 48, in update

self._state = self.side.sleep_number
AttributeError: 'NoneType' object has no attribute 'sleep_number'

Traceback (most recent call last):


 "/home/xxx/.local/bin/shreddit", line 11, in <module>

sys.exit(main())


 "/home/xxx/.local/lib/python3.6/site-packages/shreddit/app.py", line 44, in main

shredder = Shredder(default_config, args.user)


 "/home/xxx/.local/lib/python3.6/site-packages/shreddit/shredder.py", line 33, in __init__

self._recent_cutoff = arrow.now().replace(hours=-self._hours)


 "/home/xxx/.local/lib/python3.6/site-packages/arrow/arrow.py", line 622, in replace

raise AttributeError('unknown attribute: "{}"'.format(key))
AttributeError: unknown attribute: "hours"
