debug = [false,false,false,false]
import ha
opts = {'jsonkey':'speed','icon':'mid:weather-windy','topic_prefix':'weather', 'unit':'MPH'}
custom = {'test':'another key'}
opts.setitem('custom',custom)
print(opts)
ha.entity_create('Wind Speed',opts)