def virtualkey(hass, address, channel, param, proxy=None):
 data = {ATTR_ADDRESS: address, ATTR_CHANNEL: channel, ATTR_PARAM: param, ATTR_PROXY: proxy}
 hass.services.call(DOMAIN, SERVICE_VIRTUALKEY, data)

def virtualkey ( hass , address , channel , param , proxy = None ) : data = { ATTR_ADDRESS : address , ATTR_CHANNEL : channel , ATTR_PARAM : param , ATTR_PROXY : proxy } hass . services . call ( DOMAIN , SERVICE_VIRTUALKEY , data )
send virtual keypress to homematic controlller .