Traceback (most recent call last):


 "/usr/src/app/homeassistant/helpers/entity.py", line 215, in async_update_ha_state

state = self.state


 "/usr/src/app/homeassistant/helpers/entity.py", line 379, in state

return STATE_ON if self.is_on else STATE_OFF


 "/usr/src/app/homeassistant/components/switch/netio.py", line 162, in is_on

return self.netio.states[self.outlet - 1]
TypeError: unsupported operand type(s) for -: 'str' and 'int'

Traceback (most recent call last):


 "./train.py", line 100, in <module>

base_datamgr
= SimpleDataManager(image_size, batch_size = 16)


 "/media/data2/manolis/CloserLookFewShot/data/datamgr.py", line 53, in __init__

super(SimpleDataManager, self).__init__()
TypeError: super() argument 1 must be type, not classobj
