Amcrest camera appears as switch instead of a view on home

Hi

After the update to 0.82.1, the camera appears as a switch instead of a feed as before. When I click the thumbnail, the full screen view opens and the camera refreshes. I have the hassbian and i cannot recall the version prior the update, but it should have been an earlier than the 0.77.

Is there anything to do in order to have the “small” view on the home instead of the switch?

image

amcrest:

  • host: !secret amcrest_parking_ip
    name: Parking Camera
    port: !secret amcrest_parking_port
    username: !secret amcrest_parking_username
    password: !secret amcrest_parking_password
    resolution: high
    scan_interval: 10
    sensors:
    • motion_detector

camera:

  • platform: amcrest

I am also receiving the below errors. Have no idea why, since the camera actually works…

Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity_platform.py”, line 251, in _async_add_entity
await entity.async_device_update(warning=False)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity.py”, line 349, in async_device_update
await self.hass.async_add_executor_job(self.update)
File “/usr/lib/python3.5/asyncio/futures.py”, line 380, in iter
yield self # This tells Task to wait for completion.
File “/usr/lib/python3.5/asyncio/tasks.py”, line 304, in _wakeup
future.result()
File “/usr/lib/python3.5/asyncio/futures.py”, line 293, in result
raise self._exception
File “/usr/lib/python3.5/concurrent/futures/thread.py”, line 55, in run
result = self.fn(*self.args, **self.kwargs)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/sensor/systemmonitor.py”, line 118, in update
self._state = psutil.disk_usage(self.argument).percent
File “/srv/homeassistant/lib/python3.5/site-packages/psutil/init.py”, line 1978, in disk_usage
return _psplatform.disk_usage(path)
File “/srv/homeassistant/lib/python3.5/site-packages/psutil/_psposix.py”, line 127, in disk_usage
st = os.statvfs(path)
FileNotFoundError: [Errno 2] No such file or directory: ‘’
2018-11-28 20:49:16 WARNING (Thread-5) [urllib3.connectionpool] Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x684a1090>, ‘Connection to 192.168.1.3 timed out. (connect timeout=3.0)’)’: /cgi-bin/magicBox.cgi?action=getSoftwareVersion

2018-11-28 20:49:53 WARNING (Thread-18) [urllib3.connectionpool] Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘ReadTimeoutError(“HTTPConnectionPool(host=‘192.168.1.3’, port=8081): Read timed out. (read timeout=3.0)”,)’: /cgi-bin/snapshot.cgi?channel=0