Fixed incorrect variable name 'filter'

Produced error:

line 60, in get_chromecasts
   if chromecast.host != filter['ip']:
TypeError: 'type' object is not subscriptable