// RemoteControl sets remote status demand
RemoteControl sets remote status demand
// RemoteControl sets remote status demand
func (lp *LoadPoint) RemoteControl(source string, demand loadpoint.RemoteDemand) {
	lp.Lock()
	defer lp.Unlock()
	lp.log.DEBUG.Println("remote demand:", demand)
	if lp.remoteDemand != demand {
		lp.remoteDemand = demand
		lp.publish("remoteDisabled", demand)
		lp.publish("remoteDisabledSource", source)
		lp.requestUpdate()
	}
}
func ( lp * LoadPoint ) RemoteControl ( source string , demand loadpoint . RemoteDemand ) { lp . Lock ( ) defer lp . Unlock ( ) lp . log . DEBUG . Println ( " " , demand ) if lp . remoteDemand != demand { lp . remoteDemand = demand lp . publish ( " " , demand ) lp . publish ( " " , source ) lp . requestUpdate ( ) } }
RemoteControl sets remote status demand
RemoteControl sets remote status demand
// apply immediately